Skip to content

Support fetching subject token from url for workload identity#179

Merged
wojtekmach merged 1 commit intopeburrows:masterfrom
mechanical-orchard:workload-identity-url
Dec 20, 2024
Merged

Support fetching subject token from url for workload identity#179
wojtekmach merged 1 commit intopeburrows:masterfrom
mechanical-orchard:workload-identity-url

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