Skip to content

Conversation

@weaversam8
Copy link

Fixes #185.

  • Adds a new Goth.AWS module which handles constructing a signed AWS request
    • (added ExAws as a dependency for signing these headers)
  • Extends Goth.Token to defer to Goth.AWS when it receives a credential_source with environment_id set to aws1
  • Adds a new test to validate the above behaviour

@weaversam8
Copy link
Author

My most recent commit also extends all workload federation so that scopes can be passed when requesting a token. Previously, only the default scope would be passed.

@sekiyama58
Copy link
Contributor

sekiyama58 commented Feb 27, 2025

Thanks for your work! If you could support IMDSv2 (with the config file generated by gcloud iam workload-identity-pools create-cred-config --aws --enable-imdsv2 option) that would be great.
It would also be nice if ex_aws dependency could be optional for those who don't use aws federation.

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.

Missing support for AWS Workload Federation

2 participants