flexera-public / right_aws

RightScale Amazon Web Services Ruby Gems
MIT License
449 stars 175 forks source link

Add support for Temporary Security Tokens #131

Closed pieter closed 12 years ago

pieter commented 12 years ago

This has become more useful now that you can assign roles to EC2 instances.

This simple patch adds a SecurityToken field to requests if the Ec2 object has been initialized with a :token parameter.

See http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/UsingIAM.html#UsingIAMrolesWithAmazonEC2Instances

konstantin-dzreev commented 12 years ago

merged