You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ECS containers have different environment variables for their credentials. This is described in the following: Container credential provider
The link says that there is support for this in the AWS SDK for Python, I don't know how difficult this would be in implement in awscurl.
There is an easy way to see this in action, the CloudShell available in the AWS console has the environment variables described in the above link ($AWS_CONTAINER_AUTHORIZATION_TOKEN, $AWS_CONTAINER_CREDENTIALS_FULL_URI). Awscurl works in the CloudShell currently, I copy/paste my credential environment variables into it, but mine expire after 1hr, so using the container's credentials would help a lot.
Thanks for your work on this utility!
The text was updated successfully, but these errors were encountered:
ECS containers have different environment variables for their credentials. This is described in the following:
Container credential provider
The link says that there is support for this in the AWS SDK for Python, I don't know how difficult this would be in implement in awscurl.
There is an easy way to see this in action, the CloudShell available in the AWS console has the environment variables described in the above link (
$AWS_CONTAINER_AUTHORIZATION_TOKEN
,$AWS_CONTAINER_CREDENTIALS_FULL_URI
). Awscurl works in the CloudShell currently, I copy/paste my credential environment variables into it, but mine expire after 1hr, so using the container's credentials would help a lot.Thanks for your work on this utility!
The text was updated successfully, but these errors were encountered: