Loading

    IAM Identity Center

    Adam ElmoreAdam Elmore

    Set Up IAM Identity Center

    With multiple AWS accounts, managing access can be tricky. IAM Identity Center makes it easier to log in to the console and access your accounts from your development machine. It's also a more secure approach than using long-lived IAM user access keys.

    Enable IAM Identity Center

    In the AWS Management Console, search for "IAM Identity Center" and click "Enable" to set it up.

    Create a User

    Once enabled, create a new user by clicking "Add user" under the "Users" section. Use your email address as the username and have AWS send you a one-time password setup email.

    After accepting the invitation and setting a new password, you'll be prompted to set up multi-factor authentication (MFA). Use an authenticator app or a security key.

    Create a Permission Set

    Next, create a permission set, which defines the permissions a user has in an AWS account. For this example, create an "Administrator Access" permission set with a 12-hour session duration.

    Assign User Access

    Assign your user the "Administrator Access" permission set for each of your three AWS accounts (management, development, and production).

    1. Go to "AWS accounts" and select your management account.
    2. Under "Assign users or groups," select your user and the "Administrator Access" permission set.
    3. Repeat for the development and production accounts.

    After assigning access, refresh the page, and you'll see all three accounts listed with the "Administrator Access" permission set.

    Customize the Access Portal URL

    To make the IAM Identity Center URL more friendly, go to the dashboard and edit the "Access Portal URL" under "Settings Summary." Choose a unique subdomain (e.g., adam.dev).

    Now, you can access the IAM Identity Center portal at adam.dev.awsapps.com.start.

    Access AWS Accounts

    From the IAM Identity Center portal, you can click on the "Administrator Access" link for each account to open the AWS Management Console in a new tab. This will log you out of any previous console sessions using the root credentials.

    With IAM Identity Center set up, you no longer need to use the root credentials. You can access all your AWS accounts securely through the custom portal URL.

    Transcript

    Loading...