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

feat: Add support for AWS Workload Identity Federation #418

Merged
merged 20 commits into from Mar 21, 2023

Conversation

BigTailWolf
Copy link
Contributor

This is a wrap of #414

Will continue fix on this one.

@BigTailWolf BigTailWolf requested a review from a team as a code owner March 17, 2023 04:30
@conventional-commit-lint-gcf
Copy link

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@BigTailWolf BigTailWolf force-pushed the aws-creds branch 4 times, most recently from 32657d9 to 8b5d952 Compare March 18, 2023 06:42
lib/googleauth/external_account.rb Show resolved Hide resolved
lib/googleauth/external_account/aws_credentials.rb Outdated Show resolved Hide resolved
lib/googleauth/external_account/base_credentials.rb Outdated Show resolved Hide resolved
lib/googleauth/helpers/connection.rb Outdated Show resolved Hide resolved
lib/googleauth/oauth2/sts_client.rb Outdated Show resolved Hide resolved
lib/googleauth/external_account/base_credentials.rb Outdated Show resolved Hide resolved
BigTailWolf and others added 7 commits March 19, 2023 23:21
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Copy link
Member

@dazuma dazuma left a comment

Choose a reason for hiding this comment

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

I'm assuming the logic is sound and the functionality is tested. I'm suggesting some fixes to documentation formatting so it gets rendered correctly in Ruby's documentation generator, and a few idiomatic Ruby tweaks. Otherwise it looks good to go.

lib/googleauth/credentials.rb Outdated Show resolved Hide resolved
lib/googleauth/service_account.rb Outdated Show resolved Hide resolved
lib/googleauth/external_account/base_credentials.rb Outdated Show resolved Hide resolved
lib/googleauth/external_account/aws_credentials.rb Outdated Show resolved Hide resolved
lib/googleauth/external_account/aws_credentials.rb Outdated Show resolved Hide resolved
lib/googleauth/external_account/aws_credentials.rb Outdated Show resolved Hide resolved
lib/googleauth/external_account/base_credentials.rb Outdated Show resolved Hide resolved
lib/googleauth/oauth2/sts_client.rb Outdated Show resolved Hide resolved
lib/googleauth/external_account/base_credentials.rb Outdated Show resolved Hide resolved
lib/googleauth/external_account/base_credentials.rb Outdated Show resolved Hide resolved
spec/googleauth/external_account/aws_credentials_spec.rb Outdated Show resolved Hide resolved
spec/googleauth/external_account_spec.rb Outdated Show resolved Hide resolved
spec/googleauth/oauth2/sts_client_spec.rb Outdated Show resolved Hide resolved
BigTailWolf and others added 5 commits March 20, 2023 21:56
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
@bajajneha27
Copy link
Contributor

feat: Add support for AWS Workload Identity Federation

@bajajneha27 bajajneha27 merged commit 1354b07 into googleapis:main Mar 21, 2023
@shivgautam shivgautam changed the title feat: aws credential. Wrap all Ryan & Robert's change feat: Add support for AWS Workload Identity Federation Mar 21, 2023
@NeoCat
Copy link

NeoCat commented Mar 22, 2023

I found an issue around fetching token with IMDSv2. I appreciate if you would take a look at PR #421 to address this issue.

@bajajneha27
Copy link
Contributor

Thanks for bringing this to our notice. We're looking at it. Let me get back to you on that.

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.

None yet

4 participants