Skip to content

Comments

Switch to OIDC Federation Service instead of GitHub App#775

Open
8R0WNI3 wants to merge 1 commit intomainfrom
8R0WNI3-github-oidc
Open

Switch to OIDC Federation Service instead of GitHub App#775
8R0WNI3 wants to merge 1 commit intomainfrom
8R0WNI3-github-oidc

Conversation

@8R0WNI3
Copy link
Member

@8R0WNI3 8R0WNI3 commented Feb 20, 2026

What this PR does / why we need it:
Currently, the Gardener GitHub-Actions App is used to provide more privileged access than available via the default GITHUB_TOKEN, for example to circumvent branch protection rules (GitHub Apps can be configured as bypassers) or cross repository privileges. To prevent sharing the GitHub App secret with each and every repository/workflow which requires usage of it, the GitHub OIDC Federation Service has been developed. In essence, it holds the credentials for a central GitHub App and creates short-lived access tokens with a configured scope based on a centrally configured OIDC configuration. See related changes which have been necessary for this repository:

Release note:

Currently, the [Gardener GitHub-Actions App](https://github.com/apps/gardener-github-actions)
is used to provide more privileged access than available via the default `GITHUB_TOKEN`, for
example to circumvent branch protection rules (GitHub Apps can be configured as bypassers) or
cross repository privileges. To prevent sharing the GitHub App secret with each and every
repository/workflow which requires usage of it, the
[GitHub OIDC Federation Service](https://github.com/gardener/github-oidc-federation) has been
developed. In essence, it holds the credentials for a central GitHub App and creates short-lived
access tokens with a configured scope based on a centrally configured OIDC configuration. See
related changes which have been necessary for this repository:

- gardener/.github-oidc@6bedc95

Signed-off-by: Jonas Brand (i538859) <j.brand@sap.com>
@8R0WNI3 8R0WNI3 requested a review from a team as a code owner February 20, 2026 15:59
@8R0WNI3 8R0WNI3 added the kind/enhancement Enhancement, improvement, extension label Feb 20, 2026
@gardener-prow
Copy link

gardener-prow bot commented Feb 20, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign dnaeon for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gardener-prow gardener-prow bot added cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/enhancement Enhancement, improvement, extension size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant