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.
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.