AWS IAM Identity Center

Manage workforce access with single sign-on, permission sets, and temporary credentials.

What is IAM Identity Center?

IAM Identity Center is AWS’s recommended approach to managing workforce access instead of using IAM users. Federated identities let your team sign in with existing work accounts rather than creating separate AWS logins.

  • Connect to a central identity provider (IdP), such as your corporate directory, or use the IAM Identity Center directory.
  • Define access in one place using permission sets, which provision IAM roles in your assigned AWS accounts.
  • Let users single sign-on (SSO) to the AWS accounts and roles they are authorized to access.

Why avoid IAM users for workforce access?

Single-account scope
IAM users exist only in the AWS account where they are created. Cross-account access requires roles and trust relationships that you manage.
More credentials to manage
Separate usernames and passwords add overhead even when you already have a corporate directory.
Long-term credentials
IAM user access keys do not expire automatically. Forgotten or leaked keys can remain usable until you deactivate or delete them.

Why Identity Center is better

One login for your assigned accounts
Users access their authorized AWS accounts and roles through SSO with their existing work credentials.
Centralized access control
Define who can access what using permission sets. Identity Center automatically provisions the corresponding IAM roles in assigned accounts.
Temporary credentials
Users obtain short-term role credentials on demand. Those credentials expire automatically instead of remaining valid indefinitely.

Pro tip: For emergency use only (such as an Identity Center outage), preconfigure IAM users and roles that do not depend on Identity Center or your identity provider. Protect them with hardware MFA, alert on every use, and test the procedure periodically. AWS break-glass guidance ↗

How it works

From permission sets to provisioned account access
From permission sets to provisioned account accessChristophe is a member of the CloudArchitects group in Identity Center. The CloudArchitects permission set defines policies and session duration. Assign the group and permission set to the relevant AWS accounts. Identity Center automatically provisions an AWSReservedSSO role and a SAML provider in each assigned account, configuring the role trust relationship. Resource names are abbreviated in the diagram.Identity CenterAssigned AWS accountsMember ofAssign group + permission set to accountsAutomatically provisioned in all assigned accountsRole trusts providerUSERSChristopheGROUPSCloudArchitectsPERMISSION SETSCloudArchitectsPoliciesSession durationIAM ROLEAWSReservedSSO_…Permission set policiesSAML PROVIDERAWSSSO_…_DO_NOT_DELETE
From permission sets to provisioned account access

Drag the background to pan. Use the controls to zoom or fit the full diagram. Press Escape to close.

Getting started

  1. Configure your identity source

    Use Identity Center’s built-in directory, Active Directory, or an external IdP. Use an organization instance for multi-account AWS access.

  2. Create permission sets

    These are collections of policies that define what your users can do. Set the session duration and grant only the permissions they need.

  3. Assign users or groups to accounts

    Map users or groups to your AWS accounts with permission sets. Prefer group assignments to simplify ongoing access management.

  4. Configure your AWS CLI

    Use AWS CLI v2 to configure an SSO profile, then sign in to obtain temporary access.

Behind the scenes

An IAM role is created in the target account
Assigning a permission set provisions an IAM role in the selected account. Its name follows the pattern AWSReservedSSO_<PermissionSetName>_<UniqueSuffix>.
The trust relationship is configured
Identity Center configures the role’s trust policy and SAML provider so authorized users can assume the role. Manage these resources through Identity Center, not by manually editing them.
Users can SSO into that account
A user signs in to the AWS access portal and selects an assigned account and role. They receive temporary credentials for the corresponding role in the target account.
A better approach to users in the cloud
A better approach to users in the cloudUsers authenticate with an identity provider such as Okta or Microsoft Entra ID, or with the built-in Identity Center directory. Identity Center presents only the AWS accounts and roles assigned to the user or their groups. The user selects an account and role and receives temporary credentials. Accounts A, B, and N represent the authorized accounts in your organization.01 / SIGN INUsersYour workforce02 / AUTHENTICATEIdentity providerOkta, Microsoft Entra ID,Active Directory, or theIdentity Center directory03 / SELECT ACCOUNT + ROLEIAM Identity CenterUsers · GroupsPermission sets04 / ACCESSAccount AAssigned IAM role04 / ACCESSAccount BAssigned IAM role04 / ACCESSAccount NAssigned IAM role
A better approach to users in the cloud

Drag the background to pan. Use the controls to zoom or fit the full diagram. Press Escape to close.

CLI commands

Configure credentials

Follow the prompts to configure your SSO session, select an account and role, and save a named profile.

aws configure sso --profile myprofile
Login or reauthenticate

Sign in and cache an SSO access token. The CLI uses that session to obtain temporary role credentials; reauthenticate when the SSO session expires.

aws sso login --profile myprofile

Pro tip: A tool like Granted can make managing multiple CLI profiles easier.

Use this cheat sheet with AI

Copy a ready-to-use prompt into your preferred AI assistant.

Preview prompt