How Do I Assume a Role in Aws Console
In the Iam Console, Choose Your User Name on the Navigation Bar in the Upper Right. … Choose Switch Role. … on the Switch Role Page, Type the Account Id Number...
In the IAM console, choose your user name on the navigation bar in the upper right. … Choose Switch Role. … On the Switch Role page, type the account ID number or the account alias and the name of the role that was provided by your administrator. … (Optional) Choose a Display name. … Choose Switch Role.
How do you assume a role in console?
- In the IAM console, choose your user name on the navigation bar in the upper right. …
- Choose Switch Role. …
- On the Switch Role page, type the account ID number or the account alias and the name of the role that was provided by your administrator. …
- (Optional) Choose a Display name. …
- Choose Switch Role.
How do I assume a role in AWS CLI?
Create environment variables to assume the IAM role and verify access. The AWS CLI command should output the ARN as arn:aws:sts::123456789012:assumed-role/example-role/AWSCLI-Session instead of arn:aws:iam::123456789012:user/Bob, which verifies that you assumed the example-role.