Add support for Temporary Security Tokens #131

Closed
wants to merge 1 commit into from

2 participants

@pieter

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment