AWS IAM Identity Center: one sign-in for many accounts
IAM Identity Center is the service AWS recommends for managing workforce access to accounts in one place. People sign in to the AWS access portal and work with temporary credentials for the accounts and roles assigned to them.

What it is
IAM Identity Center connects your workforce users to AWS accounts and to AWS managed applications. The AWS access portal gives each user access to the accounts and applications assigned to them.
AWS IAM Identity Center is the name AWS Single Sign-On has carried since 26 July 2022. The old name remains for backward compatibility in the sso and identitystore API namespaces, in CLI commands such as aws configure sso and sso-admin, and in managed policies that contain the AWSSSO prefix.
There are two instance types. An organization instance lives in the management account of AWS Organizations. No other instance type can manage access to AWS accounts. An account instance is bound to one account, and AWS says to use it only for isolated deployments of selected AWS managed applications.
Identity sources
The identity source defines where users and groups are managed. An organization can have only one, chosen from three options:
- Identity Center directory. The default when you enable the service. You create users and groups in Identity Center.
- Active Directory. Your on-premises directory, or AWS Managed Microsoft AD.
- An external identity provider, such as Okta or Microsoft Entra ID.
With an external provider, changes to users and groups take effect after the provider syncs them to Identity Center.
Permission sets
A permission set is a template: it bundles one or more IAM policies into a single definition. It can hold AWS managed policies, customer managed policies and inline policies, plus a permissions boundary.
You assign a permission set to a user or a group in one or more accounts. Identity Center creates a corresponding IAM role in each account and attaches the policies to it. When you modify the permission set, Identity Center updates those roles.
Three details:
- You can assign several permission sets to the same user. Each one appears as an available role in the access portal. AWS's example is a developer who chooses
PowerUserAccessthere in place ofAdministratorAccess. - The session duration is a property of the permission set. It is one hour by default, and the maximum is 12 hours.
- When a user is removed from a group that holds an assignment, the user cannot create new sessions, effective immediately.
For access that needs custom trust policies, role tags or configurable role paths, AWS points to the account access manager feature in IAM, which assigns existing IAM roles to Identity Center users and groups.
Sign in from the AWS CLI
Run the aws configure sso wizard to create a profile:
aws configure ssoIt asks for a session name, the SSO start URL, the SSO Region and the registration scopes. It opens your default browser for the sign-in, then lets you select an account and a role. The result is a profile and an sso-session section in the config file, as in AWS's example:
[profile my-dev-profile]
sso_session = my-sso
sso_account_id = 111122223333
sso_role_name = readOnly
region = us-west-2
output = json
[sso-session my-sso]
sso_region = us-east-1
sso_start_url = https://my-sso-portal.awsapps.com/start
sso_registration_scopes = sso:account:accessOne sso-session section can be reused across several profiles. These are the documented commands to sign in, run a command with the profile, and sign out:
aws sso login --profile my-dev-profile
aws sts get-caller-identity --profile my-dev-profile
aws sso logoutAfter sign-in, the authentication token is cached under ~/.aws/sso/cache. As long as you are signed in to Identity Center, the CLI renews expired AWS credentials when needed.
Starting with AWS CLI version 2.22.0, sign-in uses PKCE authorization by default, which must be used on a device with a browser. For a device with no browser, add --use-device-code.
Why it replaces per-account IAM users
An IAM user has long-term credentials, such as a password and access keys. A role has none: assuming it provides temporary security credentials for a role session.
AWS's IAM best practices state the direction:
- Federation for people. Human users should use federation with an identity provider and access AWS with temporary credentials.
- Identity Center for central management. AWS recommends Identity Center to manage access to your accounts and the permissions within them.
- IAM users for the exceptions. AWS recommends IAM users only for use cases that federation does not support.
AWS lists those exceptions. They include workloads that cannot use IAM roles, third-party clients that do not support Identity Center, and emergency access when you cannot reach your identity provider.
What to check before relying on it
- Revocation is not instant. When a user is disabled or deleted, the user cannot sign in again. Existing IAM role sessions continue until they expire, which can be up to 12 hours later. AWS recommends a session duration no longer than the role needs.
- MFA. Identity Center's MFA capabilities apply when the identity source is the Identity Center directory, AWS Managed Microsoft AD or AD Connector. It does not support MFA for external identity providers, so enforce MFA in the provider.
- Emergency access. AWS says emergency access IAM users can be part of a resiliency plan, and recommends that their credentials be tightly controlled and secured with MFA.
- Unused IAM users. IAM provides last accessed information to identify users and credentials you no longer need. Review and remove them.
Sources
Want a second pair of eyes on yours? We do this work for a living.
More guides

AWS STS and AssumeRole: how short-lived credentials work
Authentication · 4 min read
Trust policy, permissions policy, session duration, the external ID and the one-hour limit on role chaining.

Keyless deploys from GitLab CI to AWS with OIDC
Authentication · 4 min read
The IAM provider, the trust policy and the pipeline job that trades a GitLab token for AWS credentials.

Azure managed identities: system-assigned or user-assigned
Authentication · 4 min read
When to pick each type, how to grant a role, how code gets a token and which limits to plan for.