Stop 04 · IAM & Account SecurityTopics · 8/9

IAM Identity Center (SSO)

Part of the AWS Roadmap

In short

Creating an IAM user in every account for every person quickly becomes a mess of passwords and keys. IAM Identity Center gives each person one login and one portal for all the accounts and roles they are allowed to use.

IAM Identity Center, previously called AWS Single Sign-On, gives people one sign-in portal for multiple AWS accounts with temporary credentials. It is AWS's recommended way to manage human access instead of creating IAM users in each account.

The jaadu taps an ID card at a single reception turnstile while a lift panel beside it lights up only two of many floor buttons.

Think of it like this

Office ID card at reception

In a big office park you show one ID card at reception, and it opens only the floors your company allows. You don't carry a separate key for every floor. Identity Center is that reception desk for your AWS accounts.

Watch it happen

One sign-in, many accounts

Anjali
Access portal
Permission set
Dev account

Sign in + MFA

1/5Anjali opens the company's AWS access portal and signs in once with MFA.

The big ideas

What you need to know

Permission sets

Reusable bundles of policies. Assign a permission set to a user or group for an account and Identity Center creates the role there.

Groups, not people

Assign access to groups like Developers or Testers. Joining or leaving a team is then one membership change.

Bring your own directory

Use the built-in directory, or connect an external identity provider like Microsoft Entra ID, Okta or Google Workspace.

Temporary by design

Every session uses short-lived credentials, so there are no long-term keys to leak.

See it in code

Walk through the code

ini
1# ~/.aws/config written by: aws configure sso2[sso-session acme]3sso_start_url = https://acme-india.awsapps.com/start4sso_region = ap-south-15sso_registration_scopes = sso:account:access6 7[profile dev-poweruser]8sso_session = acme9sso_account_id = 11112222333310sso_role_name = PowerUserAccess11region = ap-south-112 13# Daily use:14#   aws sso login --sso-session acme15#   aws s3 ls --profile dev-poweruser

1/3The sso-session block points to your access portal and the Region where Identity Center is enabled.

One SSO session shared by many profiles. Log in once and every profile tied to that session works.

Save yourself the pain

Common mistakes

Oops

Creating IAM users with passwords in every account for every engineer.

Do this instead

Enable IAM Identity Center and give people access through groups and permission sets.

Oops

Assigning AdministratorAccess to everyone 'to start with'.

Do this instead

Create a few permission sets by job role, such as ReadOnly, Developer and Billing, and add more power only when needed.

Your mission

Your first permission set

~30 min

Quick check

What does IAM Identity Center create in a member account when you assign a permission set to a group?

Go deeper

  1. 1Enable IAM Identity Center in your account and create a user and a permission set.
  2. 2Sign in through the access portal and assume the permission set in the console.
  3. 3Use aws configure sso so your CLI uses short-lived credentials.

More topics at this stop

Stuck on this topic? Ask an Insider

Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.

Download
InsideEdge