Change AWS authentication from credential based to role based
The following steps have been provided as an example to help you to change authentication from a credential based cloud account to a role based cloud account:
Steps
- In the Edit Cloud Account page, select Role based.
- Log in to the AWS Management Console.
-
Complete the following steps to create a role:
- In the navigation pane of the IAM console, select Roles, and then click Create role.
- Select the type of trusted entity as Another AWS Account.
- Copy the Trusted Account number from Cloud Snapshot Manager and paste it in the Account ID field of the console.
-
In
Options, select
Require external ID.
Do not select Require MFA.
- Copy the External ID value from Cloud Snapshot Manager to the External ID field of the console, and then click Next: Permissions.
- Click Next: Tags.
- Click Next: Review.
- Enter a unique role name, review the role, and click Create role.
- Search for the new role and copy the role ARN value.
-
Complete the following to create a policy:
-
Copy content from
AWS minimum permission policy.
For details about each AWS permission and how it is used by Cloud Snapshot Manager, see AWS permission usage.
- In the navigation pane of the IAM console, select Policies, and then click Create policy.
- Select the JSON tab, and paste the copied content from the portal.
- Click Review policy.
- Enter a policy name and click Create policy.
-
Copy content from
AWS minimum permission policy.
-
Associate the policy with the role using the following steps:
- Search for the role in the Roles page and click on it.
- Under the Permissions tab, click Attach Policies and search for the newly created policy.
- Select the policy and click Next: Review.
- Click Attach Policy.
- Paste the role ARN value for the newly created role in the corresponding field in Cloud Snapshot Manager.
- Click Save.