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

aws: set SharedConfigEnable to true in aws.Config #1416

Closed
vangent opened this issue Feb 28, 2019 · 0 comments
Closed

aws: set SharedConfigEnable to true in aws.Config #1416

vangent opened this issue Feb 28, 2019 · 0 comments
Assignees
Milestone

Comments

@vangent
Copy link
Contributor

vangent commented Feb 28, 2019

Some earlier discussion here:
#1357 (comment)

TL;DR, users commonly "log in" to AWS using aws login, but the AWS Go libraries don't consult the resulting ~/.aws/config file unless you set the AWS_SDK_LOAD_CONFIG environment variable to true, or unless the aws.Config field SharedConfigEnable is set to true.

We should do that in URL openers and in the *Session that's in the default provider sets.

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

No branches or pull requests

1 participant