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

ec2 role as auth credentials #122

Open
davrodfer opened this issue Jun 12, 2017 · 3 comments
Open

ec2 role as auth credentials #122

davrodfer opened this issue Jun 12, 2017 · 3 comments

Comments

@davrodfer
Copy link

How to use ec2 role as authentication credentials? Is it possible with this library?

@k-k
Copy link
Contributor

k-k commented Jun 12, 2017

@davrodfer The underlying AWS SDK should handle that for you. For instance, if you're using this on an EC2 instance, the permissions can be based on the role(s) assigned to the EC2 instance. For that to work, you just omit setting any aws credentials and the AWS SDK will attempt to resolve that for you (either ENV variables or IAM role).

@davrodfer
Copy link
Author

I'll try!
Thank you very much!

@davrodfer
Copy link
Author

Old

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