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

Please support defaulting to default profile of root when IAM role fails #91

Open
et304383 opened this issue Oct 6, 2016 · 1 comment

Comments

@et304383
Copy link

et304383 commented Oct 6, 2016

We're running s3_file on a non EC2 instance that has /root/.aws/config and /root/.aws/credentials filled in with a default profile to simulate having an IAM role best we can.

s3_file doesn't gracefully handle this and just dies. It would be nice if it handled this in a manner similar to how the CLI does where we can just call without any profile or credentials values like this:

aws s3 cp ...
@joekiller
Copy link
Collaborator

Yeah supporting the IAM chain would be helpful but without the AWS SDK it is a bit of a pain to support. I dunno how it goes with the "lightweight part" if we download the s3 sdk and include it. but we could just take the core and the s3 files.

Consider this a good thread to throw in an opinion.

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