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

ECS container credentials #281

Merged
merged 1 commit into from
Jul 27, 2016
Merged

Conversation

ryansch
Copy link
Contributor

@ryansch ryansch commented Jul 26, 2016

This adds support for ECS task container credentials/roles.
Docs: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
aws-sdk PR: aws/aws-sdk-ruby#1243

I used the same algorithm as aws-sdk for choosing when to use the ECS creds. I don't love the options[:metadata_connection] but we have to connect to a different host to get the region when using ECS creds.

@lanej
Copy link
Member

lanej commented Jul 26, 2016

This seems pretty straight forward to me. @geemus mind giving it a look ?

@geemus
Copy link
Member

geemus commented Jul 27, 2016

👍 Thanks!

@geemus geemus merged commit 9941ae5 into fog:master Jul 27, 2016
@ryansch
Copy link
Contributor Author

ryansch commented Aug 3, 2016

@geemus Any chance you could cut a release with these changes?

@ryansch ryansch deleted the container-credentials branch August 3, 2016 15:03
@geemus
Copy link
Member

geemus commented Aug 4, 2016

@ryansch probably, but mostly I've been deferring to @lanej for releases. @lanej ?

@lanej
Copy link
Member

lanej commented Aug 4, 2016

@geemus
Copy link
Member

geemus commented Aug 4, 2016

Thanks!

On Thu, Aug 4, 2016 at 10:40 AM, Josh Lane notifications@github.com wrote:

https://rubygems.org/gems/fog-aws/versions/0.11.0


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#281 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAQKpr-Zp-OIdW18Ex9MIr2mjHyBBdvks5qcgffgaJpZM4JVUKn
.

@ryansch
Copy link
Contributor Author

ryansch commented Aug 5, 2016

Thanks! 🎉

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.

3 participants