AWS Receptor: Assume Role - multiple AWS accounts instructions
How to setup the AWS receptor to authenticate using assume role with multiple AWS accounts
This page explains just one of your authentication configuration options. See all options for configuring how the Trustero receptor authenticates to AWS.
These instructions explain how to grant the AWS receptor access to multiple AWS accounts to retrieve evidence using assume role authentication.
Requirements:
You must use AWS organizations with a management account and multiple member accounts.High-level steps to setup the receptor:
- Create the Trustero-CrossAccountRole that is used by the receptor to access the AWS accounts. Pick one of these options:
- Return to the receptor in Trustero and enter the Account Id and an External Id.
Read on for full details.
Automated Instructions
These instructions use the AWS CLI and CloudFormation to create the trustero-api-user in multiple AWS accounts.
|
1. Find the management account's ID |
Using the AWS CLI: aws organizations describe-organization --query 'Organization.MasterAccountId' --output text
|
|
2. Create management account's IAM role and policy |
When creating the stack from the template below, enter an External ID account ID in the Parameters section and note it down. CloudFormation template: {
|
|
3. Create member account IAM role (repeat for every member account) |
When creating the stack from the template below, enter the management account ID from Step 1 into the ManagementAccountId in the Parameters section. CloudFormation template: {
|
Return to the receptor in the Trustero application to complete activation.
Manual Instructions
These instructions guide you through using the AWS web console to provision access to Trustero's receptor into you AWS accounts.
|
1. Find the management account's ID |
|
|
2. Create management account IAM policy |
|
|
3. Create management IAM role and assign permissions |
|
|
4. Create member account IAM role (repeat for every member account) |
|
Return to the receptor in the Trustero application to complete activation.