Sub topic 1
How IAM Identity Center fits into a multi-account setup
Prerequisites
Assume you know IAM users, roles, policies, and AWS Organizations. You should also understand that an organizational unit (OU) groups AWS accounts, but does not itself receive IAM permissions.
AWS IAM Identity Center provides one place to manage workforce access to multiple AWS accounts. A user signs in through an identity source, selects an account and access role, and receives temporary credentials. Identity Center creates and manages the corresponding IAM roles in member accounts.
The central model has three parts:
- A principal is a user or group that needs access.
- A permission set is a reusable definition of permissions and session settings.
- An account assignment connects a principal and permission set to one AWS account.
Connecting Identity Center to AWS Organizations
In a multi-account organization, use an organization instance of IAM Identity Center. The management account enables the service and can register a delegated administrator. Identity Center then lists the organization’s accounts as assignment targets.
Assignments are still made to individual accounts. An OU helps you select and manage accounts, but it is not a direct target for an assignment. For example, assigning the Auditors group to a permission set for ten accounts requires ten account assignments.
Choosing an identity source
Identity Center can store identities in its built-in directory, connect to Microsoft Active Directory, or federate with an external identity provider (IdP). An IdP is a system that authenticates users, such as Okta or Microsoft Entra ID.
Choose the built-in directory for a small, standalone environment. Use Active Directory or an external IdP when the organization already manages employee identities there. Confirm that groups and user attributes synchronize correctly before designing assignments around them.
Users and groups as assignment targets
You can assign a permission set to an individual user or to a group. Group assignments usually scale better because membership changes do not require changing every account assignment. Create groups around job functions, such as Auditors, Developers, or PlatformAdmins.
What a permission set is
A permission set is a template for an IAM role that Identity Center provisions in target accounts. It can include AWS managed policies, customer managed policy references, inline policies, a permissions boundary, and a session duration. The same permission set can provide consistent access across many accounts.
Exercise
Why is a group assignment usually preferable to assigning the same permission set to each user?
Show answer
Group membership changes are easier to manage, while the account assignments remain unchanged.