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

Support IAM security tokens #175

Open
jhmartin opened this issue Nov 21, 2013 · 4 comments
Open

Support IAM security tokens #175

jhmartin opened this issue Nov 21, 2013 · 4 comments

Comments

@jhmartin
Copy link

Consider supporting temporary credentials as supplied by the IAM Instance Role functionality. This requires passing an additional Security Token field to the API:
http://docs.aws.amazon.com/STS/latest/UsingSTS/using-temp-creds.html

@zuazo
Copy link

zuazo commented Feb 5, 2014

AFAIK this old PR implements this feature: #160 (still not merged)

@gerner
Copy link

gerner commented Feb 10, 2014

any updates on this? or is this actually supported somehow?

@gerner
Copy link

gerner commented Feb 10, 2014

That PR only adds support for SNS and SQS. S3 (at least) is still missing.

It looks like there's at least some work to start integrating the token:
https://github.com/rightscale/right_aws/blob/master/lib/awsbase/right_awsbase.rb#L451

It seems that it hasn't made it's way elsewhere:
https://github.com/rightscale/right_aws/blob/master/lib/awsbase/right_awsbase.rb#L439-L440

I would expect something along the lines of:
https://gist.github.com/gerner/3ed730d4b1c2846e725c#file-instance_creds-rb-L14

Obviously, this gist is a terrible monkey patch. But you could imagine a more appropriate fix in the actual code.

@zuazo
Copy link

zuazo commented Feb 13, 2014

You are right. S3 token support is missing in my PR. I did not realize that, sorry. But anyway, it's not merged.

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

3 participants