-
Notifications
You must be signed in to change notification settings - Fork 484
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
IamAwsProvider can't fetch ECS task role credentials #1108
Comments
@cbutcosk Could you confirm AWS_CONTAINER_CREDENTIALS_FULL_URI way to fetch credentials return same JSON structure? |
@balamurugana Hm, good question--I actually can't reproduce an environment on my end that sets AWS_CONTAINER_CREDENTIALS_FULL_URI. Not sure if that is due to the deployment type I'm using or something. That said the AWS SDK appears to use the same endpoint regardless of which environment variable is used to construct the URI since the entire refresh() method is in the superclass there. |
@cbutcosk No problem. I have made |
In using the new credentials interface I noticed that although
IamAwsProvider
covers the EC2 metadata auth flow. But when I try to use it in an ECS task role the auth flow is getting tripped up here.According to the AWS docs around IAM Task Roles the expected response from the container metadata endpoint lacks the
Code
property checked in that line:The text was updated successfully, but these errors were encountered: