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

Support fetching subject token from url for workload identity #179

Merged

Conversation

slackersoft
Copy link
Contributor

Add the ability to fetch the subject_token for a workload identity from a url. Also added some documentation in token.ex for using :workload_identity. This allows us to use workload identity directly without any additional steps in our CI actions based on how we have configured workload identity.

I was able to get it working with the previous commits to master here, by making an additional curl, but with this we can just use the credentials json directly

@gmile
Copy link

gmile commented Dec 20, 2024

Can confirm Goth was unable to authenticate with Google Cloud during a GH run before this change, and is now able after this change. Good changes @slackersoft!

@wojtekmach wojtekmach merged commit 0226efa into peburrows:master Dec 20, 2024
2 checks passed
@wojtekmach
Copy link
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants