station
station

Reputation: 7145

How to share the AWS keys without people knowing about it

I have a use case where in I have installed a private instance of webpagetest http://www.webpagetest.org on EC2 . Now I want to enable autoscaling of the webpagetest AMIs . Now for autoscaling the AMI , I need to mention the AWS secret key and access key here in the configuration. https://github.com/WPO-Foundation/webpagetest/blob/master/www/settings/ec2.ini.sample

Now the team that handles AWS in my organization are hesitant to give me the keys.

Is there a work around for problem like this. Can the keys be shared in some other way.

Upvotes: 0

Views: 91

Answers (1)

chris
chris

Reputation: 37480

The proper way to do this is to create an IAM role, and assign it to the EC2 instance.

You can't assign a role to an existing instance, so you will have to recreate your instance.

The AWS documentation for this is available here

Upvotes: 2

Related Questions