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

Read AWS_PROFILE to enable Shared Credentials provider #11

Merged
merged 2 commits into from
Sep 23, 2021

Conversation

vinay-gopalan
Copy link
Contributor

@vinay-gopalan vinay-gopalan commented Sep 21, 2021

This PR uses the Profile field that already existed in the AWS Credentials Config. It reads from the AWS_PROFILE environment variable and uses this value in the GenerateCredentialChain method to enable the Shared Credentials Provider.

The addition of these changes allows the use of source_profile fields that point to a named profile with credentials for assuming roles. This aims to fix:

@jefferai jefferai merged commit 5b6393a into main Sep 23, 2021
@jefferai jefferai deleted the shared-credentials-profile branch September 23, 2021 11:53
@jefferai
Copy link
Member

Tagged awsutil/v0.1.5

@jeffery
Copy link

jeffery commented Dec 19, 2021

How can I tell if this fix is part of vault release? I am currently on vault 1.9.1 and the issue reported in hashicorp/vault#5767 is not fixed for me.

@jeffery
Copy link

jeffery commented Dec 27, 2021

Hey @vinay-gopalan do you have a test case which this issue was determined to be fixed?

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

3 participants