Configure Switch role
Overview
In this step, you will configure the lab44-RoleFullAccess role to allow No-permission-user user to use this role.
Switch role configuration
- Access the IAM console at the link https://console.aws.amazon.com/iam/home#/home
- In the left navigation pane, select Users
- Click on the user No-permission-user, copy the User ARN information

In the left navigation bar, click Roles, then select the newly created IAM Role lab44-RoleFullAccess.
Select the Trust relationships tab and select Edit trust relationship

- Add AWS with the User ARN of the user No-permission-user as shown below. Then click Update Policy

- Thus, the user No-permission-user can now use the lab44-RoleFullAccess role. To verify the assume role, do the following:
- Log in with the user No-permission-user, then click on the user’s name in the top right corner of the screen, and select Switch Role

- On the Switch Role page, enter the required information.

- Click Switch role to assume the role for the user No-permission-user.
- Access basic services like EC2 or RDS to confirm the Switch role configuration is successful. With AdministratorAccess permissions, the user No-permission-user can now use any service.