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

Temporary IAM security credentials won't work #61

Open
toreriklinnerud opened this issue May 25, 2017 · 0 comments
Open

Temporary IAM security credentials won't work #61

toreriklinnerud opened this issue May 25, 2017 · 0 comments

Comments

@toreriklinnerud
Copy link

toreriklinnerud commented May 25, 2017

Just a heads up to anyone trying to use this library with temporary IAM credentials obtained within an EC2 instance or ECS container. The temporary security token must be included in the request but that is currently not being done so the API request will fail authentication with a message saying the security token is invalid.

http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#UsingTemporarySecurityCredentials)

As an alternative it is possible to use https://github.com/erlcloud/erlcloud which allows the token to be passed.

@toreriklinnerud toreriklinnerud changed the title Temporary security credentials won't work Temporary IAM security credentials won't work May 25, 2017
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

1 participant