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

Added mininal assume-role support #3

Closed
wants to merge 2 commits into from
Closed

Conversation

ragne
Copy link

@ragne ragne commented Feb 13, 2019

It may be a bit clumsy, in theory AWS SDK should support picking credential_source from profile file out-of the box, but the support hasn't been implemented yet (tracking: aws/aws-sdk-js#1916)

So, I assumed, that even if try to pick up a profile via --profile and it failed to initialize, it still good to use SDK defaults https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CredentialProviderChain.html#defaultProviders-property

Also, added package-lock.json, due to NPM recommendations. https://docs.npmjs.com/files/package-locks#using-locked-packages

@tmont
Copy link
Owner

tmont commented Jun 29, 2021

The library now supports the default AWS credential stuff (AWS_PROFILE env, reading from ~/.aws/credentials, etc.). It doesn't do anything fancy and just delegates all credential stuff to the AWS SDK.

@tmont tmont closed this Jun 29, 2021
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.

2 participants