AWS_SESSION_TOKEN not resolved from environment #723
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
AWS Lambda and other AWS services are using an assumed IAM Role with temporary security credentials and therefore It is not possible to create a valid subject token to be exchanged with sts.googleapis.com.
In AWSCredentials the following code exists:
The environment variable for the session token in an AWS environment is named "AWS_SESSION_TOKEN" and not "Token".
Refer to Python library google-auth-library-python where the processing of temporary security credentials is correctly implemented.
Kind regards,
Oliver
Originally posted by @oprigan-cgi in #714 (comment)
The text was updated successfully, but these errors were encountered: