Lesson 4 of 4 AWS Organizations, Control Tower and IAM Identity Center

Providing Workforce Access with IAM Identity Center

This lesson explains AWS IAM Identity Center, the recommended way to give a workforce single sign-on access to many AWS accounts and applications.

Learning outcomes

After completing this lesson, you will be able to:

  • Choose an identity source.
  • Assign permission sets to groups and accounts.
  • Troubleshoot Identity Center access.

Identity sources

Identity Center uses one identity source: its own Identity Center directory, Active Directory (AWS Managed Microsoft AD or a self-managed AD through AD Connector), or an external identity provider such as Microsoft Entra ID or Okta, connected with SAML 2.0 for authentication and SCIM for automatic provisioning of users and groups. MFA can be enforced in Identity Center or by the external IdP. Identity Center is enabled in one home Region of the management account (or as an account instance for a single account), and administration can be delegated to a member account.

Scenario questions

Choosing an identity source

Exam skills 4.1.3 · 4.1.1

Choose the Identity Center identity source for each organisation.

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

Permission sets and assignments

A permission set is a template of AWS managed policies, customer managed policy references, inline policies and an optional permissions boundary, with a session duration. Assigning a user or group to an account with a permission set creates an IAM role in that account (named AWSReservedSSO_<PermissionSet>_<id>), which the user assumes after signing in to the AWS access portal. Updating a permission set and provisioning it updates the role in every assigned account. CLI users sign in with aws configure sso and aws sso login, receiving short-term credentials. Attribute-based access control passes user attributes such as department as session tags.

ApproachBest for
IAM Identity Center with permission setsWorkforce access to many accounts with SSO
IAM SAML federation per accountLegacy setups or single accounts
IAM usersExceptional cases only, such as break-glass access

The following diagram shows one permission set assigned to three accounts.

How a permission set reaches accounts. A permission set combines managed, customer managed and inline policies, an optional permissions boundary and a session duration. Assigning a group to accounts with it creates an AWSReservedSSO role in each account, which users assume after signing in, and reprovisioning updates every copy.
The names are illustrative. Editing the generated roles directly is undone by the next provisioning.

Troubleshooting Identity Center access

Common issues include a user who can sign in but sees no accounts (no assignment for the user or their group), a permission set change that has no effect (not yet provisioned to the accounts), customer managed policy references that fail (the referenced policy does not exist with the same name and path in every target account), and SCIM-provisioned users missing (provisioning errors at the IdP). CloudTrail records Identity Center sign-in and federation events.

Troubleshooting scenario

Identity Center access

Exam skills 4.1.3 · 4.1.2

Fix workforce access problems in IAM Identity Center.

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

Least-privilege operations access

An operations team of 25 people needs read-only access to all accounts and administrative access only to non-production accounts, using their corporate Okta identities. The administrator connects Okta as the external IdP with SCIM, creates an OpsReadOnly permission set with the ReadOnlyAccess and AWSSupportAccess policies and an OpsAdmin permission set with a permissions boundary, and assigns the Okta group cloud-ops to every account with OpsReadOnly and to the NonProd OU's accounts with OpsAdmin. When people join or leave the Okta group, access changes automatically.

Check yourself

What does a permission set become in each assigned account?

Show answer

An IAM role.

Exam Tips

Remember for the exam

  • Identity Center gives workforce SSO to many accounts with permission sets.
  • Permission sets become IAM roles in each assigned account.
  • External IdPs connect with SAML and SCIM.
  • Customer managed policies referenced by a permission set must exist in every target account.