Skip to content

[FEAT]: Add resources to customize OIDC subject claims #1458

Closed

Description

@F21

Describe the need

I would like to be able to customize OICD subject claims for GitHub actions on a per-repo or per-organization basis.
This can be accomplished via the API, but it would be really great if we can do this in Terraform too.

Docs: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#customizing-the-subject-claims-for-an-organization-or-repository
API: https://docs.github.com/en/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    Status: Triage
    Type: Feature
    on Jan 3, 2023
  2. added
    Status: Up for grabs
    and removed
    Status: Triage
    on Jan 3, 2023
  3. kfcampbell commented on Jan 3, 2023

    @kfcampbell
    Contributor

    @F21 I agree this would be a nice feature! Do you have any interest in opening up a PR for this behavior?

  4. moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Activeon Jan 3, 2023
  5. F21 commented on Jan 3, 2023

    @F21
    ContributorAuthor

    @kfcampbell Sure! Definitely happy to open a PR for this, but we need to get this supported in google/go-github first, so I logged google/go-github#2614

  6. kfcampbell commented on Jan 3, 2023

    @kfcampbell
    Contributor

    @F21 thank you! You rock.

  7. F21 commented on Jan 3, 2023

    @F21
    ContributorAuthor

    This can be implemented once google/go-github#2615 is merged.

  8. moved this from 🔥 Backlog to ✅ Done in 🧰 Octokit Activeon Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Up for grabsType: Feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions