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

Support ~/.aws/credentials #570

Closed
jjshoe opened this issue Jun 16, 2015 · 4 comments
Closed

Support ~/.aws/credentials #570

jjshoe opened this issue Jun 16, 2015 · 4 comments

Comments

@jjshoe
Copy link

jjshoe commented Jun 16, 2015

It would be great if s3cmd would check ~/.aws/credentials (http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) for just the credentials to use.

@mdomsch
Copy link
Contributor

mdomsch commented Jun 17, 2015

Export AWS_CREDENTIAL_FILE=~/.aws/credentials, and then run s3cmd. This is
in upstream master branch and v1.5.2.

commit dc590d6
Author: David Kohen kohen.d@gmail.com
Date: Wed Feb 13 15:57:11 2013 +0200

Add support for IAM roles and temp tokens

Including:
Refresh temp tokens on every request.
Add support for roles in S3, CloudFront and SimpleDB.
Add support for AWS_CREDENTIALS_FILE env variable and the file it

references

On Tue, Jun 16, 2015 at 10:43 AM, jjshoe notifications@github.com wrote:

It would be great if s3cmd would check ~/.aws/credentials (
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html)
for just the credentials to use.


Reply to this email directly or view it on GitHub
#570.

@mdomsch mdomsch closed this as completed Jun 17, 2015
@jjshoe
Copy link
Author

jjshoe commented Jun 17, 2015

@mdomsch very handy, though not the same thing by any means. The point was to check the location that AWS recommends for you to store your credentials.

@mdomsch
Copy link
Contributor

mdomsch commented Jun 17, 2015

I'm not sure why the location was defined in an environment variable
instead of simply looked at. David?

On Wed, Jun 17, 2015 at 3:11 PM, jjshoe notifications@github.com wrote:

@mdomsch https://github.com/mdomsch very handy, though not the same
thing by any means. The point was to check the location that AWS recommends
for you to store your credentials.


Reply to this email directly or view it on GitHub
#570 (comment).

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

2 participants