Sub topic 9
Signing in with IAM Identity Center
This chapter assumes you know IAM users, roles and policies, and that you have launched a landing zone or understand what one creates. Control Tower sets up IAM Identity Center so people sign in once and reach many accounts without long-lived IAM users.
What Identity Center gives you
IAM Identity Center is the AWS service for workforce sign-in across an organization. When Control Tower launches a landing zone, it can configure Identity Center in the management account's home Region. It creates a directory of users and groups, and it creates permission sets. A permission set is a template of IAM policies. Identity Center turns it into an IAM role in each account you assign it to.
A user signs in at the AWS access portal URL. They pick an account and a permission set, and Identity Center issues temporary credentials for the matching role.
Groups Control Tower creates
By default, Control Tower creates groups for the shared accounts and for account administration. Names vary by landing zone version, so check the console. Typical groups are:
| Group | Purpose |
|---|---|
| AWSControlTowerAdmins | Administer Control Tower and the landing zone |
| AWSAccountFactory | Provision accounts through Account Factory |
| AWSLogArchiveAdmins | Administer the Log Archive account |
| AWSAuditAccountAdmins | Administer the Audit account |
| AWSSecurityAuditors | Read-only access for security review |
Add people to these groups rather than assigning permission sets to individuals. A group assignment is easier to audit and to revoke.
Using the portal and the CLI
Configure the AWS CLI to use single sign-on. The wizard asks for your portal start URL and the Region where Identity Center runs.
aws configure sso
aws sso login --profile my-audit-profile
aws sts get-caller-identity --profile my-audit-profileThe get-caller-identity output shows an assumed role whose name starts with AWSReservedSSO_. That confirms you are using an Identity Center role and not an IAM user. The session expires, so run aws sso login again when it does.
Choosing an identity source
Identity Center can use its own directory, Active Directory, or an external identity provider such as Okta or Microsoft Entra ID. The built-in directory suits a small team or a first launch. For a larger company, connect your existing provider so joiners, movers and leavers are handled in one place. You can change the identity source later, but plan it early. Changing it affects how users and group assignments map.
Common errors
- You sign in as the root user or an IAM user for daily work. Reserve the root user for tasks that need it. Use Identity Center for everything else.
- You cannot find the portal URL. Open Identity Center in the management account's home Region. The console shows the portal URL on the dashboard.
- A user sees no accounts. The user has no assignment. Check that the user belongs to a group, and that the group has a permission set assigned to the account.
- You use the wrong Region. Identity Center is a Region-specific service. Use the Region where it was enabled.
- A permission set change is not visible. After you edit a permission set, reprovision it to the accounts that use it.
Where this fits
Identity Center is how people reach the accounts you create with Account Factory. New accounts can be enrolled with an assigned administrator, so sign-in works from the first day.
Exercise
A new engineer is added to the AWSAuditAccountAdmins group but the access portal shows no accounts. What do you check, and what in the CLI output tells you that the session uses Identity Center?
Show answer
Check that the group has a permission set assigned to the target account, since group membership alone grants nothing without an assignment. Confirm also that the user opens the portal for the correct Region and directory. In the CLI, aws sts get-caller-identity should return an assumed-role ARN with a role name starting with AWSReservedSSO_.