AWS Certified Solutions Architect – Professional
IAM Identity Center identity sources and SCIM for SAP-C03
The IAM Identity Center guide allows one identity source per organization: the Identity Center directory, Active Directory through AWS Directory Service, or an external identity provider. With an external provider, SAML 2.0 handles sign-in only. Users and groups must be provisioned, automatically with SCIM or by hand, before you can assign them to accounts.
One identity source, and which instance type
The identity source defines where users and groups are managed. There are three choices and an organization can have only one at a time. The Identity Center directory is the default. An external identity provider (IdP) such as Okta or Microsoft Entra ID keeps users in that IdP. Active Directory can be self-managed or AWS Managed Microsoft AD.
Whichever source you use, access is assigned centrally. Users sign in to the AWS access portal with their existing credentials and open the accounts and roles assigned to them. The same sign-in works for the AWS CLI, which gets short-term credentials.
The instance type matters at scale. An organization instance is enabled in the AWS Organizations management account and supports all features. An account instance is bound to a single account. Multi-account permissions and access-portal sign-in to AWS accounts exist only in the organization instance. Instances in a member account or a standalone account do not have them.
Active Directory as the identity source
Identity Center connects to Active Directory through AWS Directory Service, with either AD Connector or AWS Managed Microsoft AD. You can connect only one AD Connector or one AWS Managed Microsoft AD directory at a time. For multiple domains or forests, AWS says to use AWS Managed Microsoft AD. Identity Center then works with users from the managed directory and from any domain connected to it through an AD trust.
The AD Connector or managed directory must be in the organization's management account, or in the delegated administrator account if you use one. With AWS Managed Microsoft AD, Identity Center has to be enabled in the same Region as the directory. Simple AD, which is based on Samba 4, is not supported.
Sign-in uses pass-through authentication to the source directory. Identity Center synchronizes user, group and membership information into its identity store, and no password information is synchronized. If users are spread over four or more domains, they sign in with the DOMAIN\user form of their user name.
External IdP: SAML for sign-in, SCIM for provisioning
SAML gives Identity Center no way to query the IdP for its users and groups. They have to exist in Identity Center before any assignment can be made. Signing in over SAML does not create them.
Automatic provisioning uses the SCIM v2.0 protocol. You enable it in Identity Center, which gives you a SCIM endpoint and a bearer token, and you configure the IdP with both. The IdP then sends its user and group changes. How often it sends them, and what it does when a user is removed, are controlled by the IdP. Only users and groups assigned to the IdP's application for Identity Center are provisioned. Once SCIM is set up, you can no longer add or edit users in the Identity Center console.
The alternative is manual provisioning for IdPs without compatible SCIM support. You create each user with the same user name the IdP holds, and you manage all groups by hand.
Two operational points. A SCIM access token is valid for one year, and if it expires, synchronization stops. The Identity Store APIs that change users and group membership stay available after SCIM is on, so a caller in the management or delegated administrator account can make the directory differ from the IdP. AWS suggests an SCP on the delegated administrator account to deny those actions, and notes that SCPs do not apply to the management account.
Permission sets across accounts
A permission set is a template that holds one or more IAM policies. You assign a user or group to one or more accounts with a permission set. Identity Center creates an IAM role that it controls in each of those accounts and attaches the permission set's policies to it. When you change the permission set, Identity Center updates the roles and policies to match, so a job function is defined once.
Permission sets need an organization instance with multi-account permissions enabled, which is on by default for a new organization instance.
A permission set can hold AWS managed policies, customer managed policies and an inline policy, and can set a permissions boundary. The session duration defaults to one hour and can be raised to 12 hours. A user can have several permission sets, and each appears as a role to choose in the access portal. Where you need custom trust policies, role tags or role paths, AWS points to account access manager in IAM, which assigns existing IAM roles to Identity Center users and groups.
Where the exam catches people
- Believing two AD Connectors can be connected for two forests: Identity Center takes one directory at a time, so multiple forests need AWS Managed Microsoft AD with trusts.
- Believing SAML sign-in creates users and groups in Identity Center: SAML cannot query the IdP, so they must be provisioned with SCIM or manually.
- Believing an account instance can assign permission sets across accounts: multi-account permissions exist only in the organization instance in the management account.
- Believing Simple AD can be the identity source: Identity Center does not support it.
- Believing an Active Directory source copies passwords into AWS: authentication is passed through to the directory and no password information is synchronized.