Lesson 1 of 4 Identity Federation and Temporary Credentials

Managing Workforce Access with AWS IAM Identity Center

This lesson explains how IAM Identity Center, the recommended way to give people access to AWS accounts and applications, replaces IAM users with long-term passwords and keys.

Learning outcomes

After completing this lesson, you will be able to:

  • Choose an identity source for IAM Identity Center.
  • Describe how permission sets assigned to accounts and the sign-in portal grant access.
  • Identify the causes of common access problems.
  • Provide time-bound, approved access to production.

Identity sources

An IAM Identity Center instance has one identity source, which holds its users and groups. The Identity Center directory is built in and suits organisations without another directory. Active Directory can be connected through AWS Managed Microsoft AD or AD Connector, so users sign in with their existing domain credentials. An external identity provider, such as Okta, Microsoft Entra ID or Ping, uses SAML 2.0 for sign-in and SCIM (System for Cross-domain Identity Management) to provision users and groups automatically, so people who join or leave in the provider are added or removed in Identity Center. The following table summarises the sources.

SourceNotes
Identity Center directoryBuilt in
Active DirectoryVia AWS Managed Microsoft AD or AD Connector
External IdP (Okta, Entra ID, Ping)SAML 2.0 for sign-in, SCIM for automatic user and group provisioning
Scenario questions

Choosing an identity source

Exam skills 4.1.1

Choose the IAM Identity Center identity source for each organisation.

Log in to try this activity Interactive activities are free with an account.

Permission sets and sign-in

IAM Identity Center grants access through permission sets and a central sign-in portal. The following list describes how they work.

  • Permission sets combine AWS managed, customer managed and inline policies, a boundary and a session duration.
  • Assigning one to a user or group for an account creates an AWSReservedSSO_... role there; changes must be provisioned.
  • Users sign in at the AWS access portal or with aws sso login and always get temporary credentials. MFA in Identity Center or the IdP.
  • Attributes for access control enable ABAC; trusted identity propagation passes user identity to Redshift, Lake Formation and S3 Access Grants; a delegated administrator can run it.

The following diagram shows one engineer's access to production over a day under a just-in-time access process.

Just-in-time write access to production with IAM Identity Center. The engineering group holds ProdReadOnly permanently; an approval workflow adds a user to the ProdOperator group, whose permission set has PowerUserAccess inside the ProdBoundary boundary and one-hour sessions, and removes them when the window ends.
The window's length is illustrative.
True or false

Permission sets

Exam skills 4.1.1 · 4.1.3

Check how permission sets and sign-in work.

Log in to try this activity Interactive activities are free with an account.

Troubleshooting

Access problems in IAM Identity Center usually arise from a small number of causes. The following table pairs common symptoms with their causes.

SymptomCause
Signs in but does not see an accountMissing assignment
Users missing after an IdP changeSCIM provisioning problem
SAML errorsCertificates or attribute mapping
Match the pairs

Identity Center symptoms

Exam skills 4.1.3

Match each Identity Center problem with its usual cause.

Log in to try this activity Interactive activities are free with an account.
Worked example

Time-bound, approved production access

Engineers should hold read-only access to production by default and gain write access only for an approved change. Two permission sets are assigned to the production accounts: ProdReadOnly permanently to the engineering group, and ProdOperator to an empty group. A just-in-time workflow adds a user to the operator group after approval and removes them when the window ends:

aws sso-admin create-permission-set --instance-arn $SSO_INSTANCE --name ProdOperator \
  --session-duration PT1H --description "Approved change window access"
aws sso-admin attach-managed-policy-to-permission-set --instance-arn $SSO_INSTANCE \
  --permission-set-arn $PS_OPERATOR --managed-policy-arn arn:aws:iam::aws:policy/PowerUserAccess
aws sso-admin put-permissions-boundary-to-permission-set --instance-arn $SSO_INSTANCE \
  --permission-set-arn $PS_OPERATOR \
  --permissions-boundary '{"CustomerManagedPolicyReference":{"Name":"ProdBoundary","Path":"/"}}'

A one-hour session limits how long credentials obtained during the window remain usable, and the boundary prevents the operator set from ever exceeding what the security team allows in production. The AWS-native temporary elevated access solution, or an identity governance tool, can provide the approval workflow.

Check yourself

A user can sign in but does not see an account. What is missing?

Show answer

A permission set assignment for that account.

Exam Tips

Remember for the exam

  • Workforce single sign-on to many accounts with the corporate identity provider points to IAM Identity Center.
  • Users and groups synchronised automatically from Okta or Entra ID use SCIM.
  • A user who can sign in but does not see an account is missing a permission set assignment.
  • Permission sets become AWSReservedSSO roles in each account.
  • ABAC with identity provider attributes uses attributes for access control.