Skip to content
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

Request: Support for Container credentails #164

Closed
misirlou-tg opened this issue May 3, 2023 · 2 comments
Closed

Request: Support for Container credentails #164

misirlou-tg opened this issue May 3, 2023 · 2 comments

Comments

@misirlou-tg
Copy link

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!

@okigan
Copy link
Owner

okigan commented May 5, 2023

Try the latest release. Here is example when using Cloudshell.

@misirlou-tg
Copy link
Author

Excellent, that fixed it! I updated to the 0.28 release and it is working in CloudShell with my credentials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants