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

reading access keys from awscli config? #6

Open
mbravorus opened this issue Mar 14, 2014 · 6 comments
Open

reading access keys from awscli config? #6

mbravorus opened this issue Mar 14, 2014 · 6 comments

Comments

@mbravorus
Copy link

Hello again,

wouldn't it be more secure and convenient if the script could read access keys from standard awscli config (perhaps even including the profile feature?)

@yegor256
Copy link
Owner

Can you give a link to "standard awscli config"? Never heard about it :)

@mbravorus
Copy link
Author

Sure, head right here - https://github.com/aws/aws-cli
and check the Getting Started section :)

TL;DR version - it is a plain old text config residing in ~/.aws/config, with "profiles" defined as [profilename] sections and access variables in the form of key=value

@yegor256
Copy link
Owner

Aha, good idea, thanks. I'll try to implement it

@AlJohri
Copy link

AlJohri commented Apr 25, 2018

@yegor256 bumping this issue, could you support the --profile argument or AWS_PROFILE environment variable. they all pull from ~/.aws/credentials

@yegor256
Copy link
Owner

@AlJohri maybe you can contribute with a pull request?

@AlJohri
Copy link

AlJohri commented Jun 14, 2018

@yegor256 I currently went with https://github.com/mapbox/dyno/ which uses the AWS_PROFILE environment variable. ex: dyno scan us-east-1/your-table-name-here

I'll revisit this if I have need for dynamo-archive in the future. thanks!

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

3 participants