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

Add support for the ECS credential discovery method for tasks #388

Merged

Conversation

lexi-lambda
Copy link
Contributor

This fixes #385 by adding support for credentials discovery by communicating with the ECS container agent, which allows using the credentials provided by IAM roles associated with particular tasks. It reuses the existing machinery for refreshing credentials in the background from fromProfileName.

I’ve done my best to figure out the existing code style and cover the relevant bases, but I wouldn’t be surprised if there are things I’ve overlooked, so obviously feel free to make tweaks to what I’ve written yourself or suggest changes.

@brendanhay
Copy link
Owner

Looks good, thanks for the PR!

@brendanhay brendanhay merged commit 97552c1 into brendanhay:develop Jun 11, 2017
@trevorriles trevorriles mentioned this pull request Sep 13, 2017
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

Successfully merging this pull request may close these issues.

Support for ECS credentials discovery method
2 participants