Subject: | Feature Request: IAM Roles |
Greetings-
Earlier this year, AWS introduced IAM Roles, a feature that allows users
to assign temporary, automatically-rotating AWS credentials to an EC2
instance, for use in making API requests. The keys are made available by
AWS on the EC2 metadata service. This greatly simplifies the process of
distributing AWS keys to EC2 instances in a secure fashion.
I think it would be very useful to folks if Net::Amazon::EC2 supported
retrieving the AWS credentials via IAM Roles, so hopefully you could
look into supporting it. I'd implement it myself, but my perl is a
little rusty at this point. Here is the relevant documentation:
How to use IAM Roles:
http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/UsingIAM.html#UsingIAMrolesWithAmazonEC2Instances
How to make API calls with Temporary credentials (such as those obtained
from an IAM Role):
http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/UsingIAM.html#
UsingTemporarySecurityCredentials_EC2
Information on how to set up roles:
http://docs.amazonwebservices.com/IAM/latest/UserGuide/WorkingWithRoles.
html
Thanks!
-Lenny