-
Notifications
You must be signed in to change notification settings - Fork 65
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
Can't use machine credentials. #39
Comments
@smithamax I believe this support was added in #35 but I am not super familiar with these approaches. If you could provide me with some more exact details I can work on this when I get some time or if you would like to help, a PR would be greatly appreciated ❤️ |
So that works for aws config files if you're using profiles , but it doesn't for ec2 roles. ec2 role credentials are obtained by the sdk over a link-local address. You might be able to add profiles on top but I've never done that. If you want to test it out locally you could use aws-vault like...
I'm not really that familiar with ruby, but I think you should just be able to omit these lines completly and have the aws-sdk worry about if it has credentials or not.
|
@smithamax Thanks for info! Will take a look at 💪 |
this maybe addressed by #55 |
Because of the way the aws keys/profile are being validated, the aws-sdk can't fall back to the credentials in the aws config file, or ec2 role.
The text was updated successfully, but these errors were encountered: