From the course: AWS Automation and Optimization

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Configuring temporary access with STS

Configuring temporary access with STS

- [Instructor] Let's configure temporary access with Security Token Service or STS. For this configuration, you will need two AWS accounts, one that has resources and another that will access the resources in the other account. We'll set up a trust relationship between the accounts to allow cross account access. In my case, Account A is the account that owns the resources and Account B is the account that will assume an IAM role to access resources in Account A. Start by signing into the management console of Account A. We'll be using root accounts for the configuration. Once again, this is the account that contains the resources. For this demonstration, we'll be using EC2 resources. So I'm here at the EC2 service and I've clicked instances. As you can see, I have two running EC2 instances. To configure Security Token Service or STS, we'll need to go to the IAM Service. Once you're here, click Roles on the left navigation pane and then click create role. Set the trusted entity type to…

Contents