Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github: Switch azure login to OIDC connect #1902

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Conversation

joaquimrocha
Copy link
Collaborator

From @jepio:
Github issues every job a token, and a service principal in Azure can be configured to trust that token. This is called "federated credentials" or OpenID Connect. Switch to using the azure/login action and enable write access on the id-token for the jobs that need it.

Preserve the default contents: read permission and move the tenant id to a secret.

Github issues every job a token, and a service principal in Azure can be
configured to trust that token. This is called "federated credentials" or
OpenID Connect. Switch to using the azure/login action and enable write access
on the id-token for the jobs that need it.

Preserve the default `contents: read` permission and move the tenant id to a
secret.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Copy link
Collaborator

@illume illume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@illume
Copy link
Collaborator

illume commented Apr 10, 2024

The build container failure is unrelated to this PR and is fixed in main.

@joaquimrocha joaquimrocha merged commit 0caf1e9 into main Apr 10, 2024
13 of 14 checks passed
@joaquimrocha joaquimrocha deleted the test-aad-login branch April 10, 2024 22:37
@illume illume added security app CI Issue related to CI labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app CI Issue related to CI security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants