cloudyr/aws.ec2

AWS STS tokens are not used properly in `ec2HTTP`

Closed this issue · 0 comments

kesor commented

The session_token in ec2HTTP is not being read from locate_credentials or environment like it should, and default arg value is NULL which is causing temporary credentials to not work.

More details at cloudyr/aws.signature#19 (comment)

It does work in s3HTTP, since it is using session_token = Sys.getenv("AWS_SESSION_TOKEN") in the argument list.