With one AWS account and a few engineers, creating IAM users by hand is fine. Things fall apart as you grow. Add a few more accounts for dev, staging and prod, several teams, and people joining and leaving, and you end up with the same person duplicated across accounts, permissions that don’t match, access keys nobody has rotated in years, and no clear view of who can do what.
IAM Identity Center (formerly AWS SSO) fixes this by moving identity to one place. People sign in once, see the accounts they’re allowed into, and get temporary credentials with the permissions assigned to their group. In the video I set it up with AWS Managed Microsoft AD as the identity source, the way many companies already run their user directory.
How it works
The mental model that made it click for me is a chain: Users → Groups → Permission sets → AWS accounts.
Users are people, and groups collect them by role (developers, admins, read-only). Permission sets define what someone can do, for example AdministratorAccess, ReadOnlyAccess or a custom DevOps policy. An assignment connects a group and a permission set to a specific account. “The DevOps team gets read-only access to the production account” is one assignment. Behind the scenes, Identity Center creates an IAM role in each account for each assigned permission set, and users assume those roles when they sign in.
Step 1: Enable Identity Center
Identity Center runs from the management account of AWS Organizations, so you need Organizations set up first. Once you enable it, you get a central place for identities, permission sets and account assignments, plus a user portal URL. If you’ve only used plain IAM before, the console looks unfamiliar at first, but it’s the same few concepts repeated.
Step 2: Choose the identity source
Identity Center can store users itself, connect to an external identity provider such as Okta, Entra ID or Google Workspace, or use Active Directory. I used AWS Managed Microsoft AD, because many enterprises already manage users in AD and want AWS access to follow it. When someone joins or leaves in AD, their AWS access changes with it, so nobody has to remember to update every account.
Be aware that Managed Microsoft AD is not free. You pay for the directory for every hour it runs, so don’t leave a test directory running.
Step 3: A Windows server to manage the directory
You don’t log into Managed AD directly. To create users and groups, I launched a Windows EC2 instance, installed the Remote Server Administration Tools (RSAT), and joined the instance to the directory’s domain. Domain joining is the step most likely to fail. If it does, check that the instance is using the directory’s DNS servers and that the security groups allow it to reach the domain controllers.
Step 4: Users and groups
From the Windows server, using Active Directory Users and Computers, I created users and groups such as Developers, Admins and ReadOnlyUsers. Always assign access to groups rather than individuals. When someone changes role, you move them to a different group instead of editing permissions in every account.
These users and groups then sync into Identity Center, so AWS can see them and assign them access.
Step 5: Permission sets and assignments
Next, create permission sets. You can start from AWS managed policies like AdministratorAccess and ReadOnlyAccess, or write a custom one for a role like DevOps. Then assign them: pick an account, pick a group, pick a permission set. Repeat this for each combination you need, and the whole access model for your organisation is visible in one place.
What users see
Users go to the portal URL and sign in once with their directory credentials. They see a list of the accounts and roles they’ve been given, click one, and they’re in the console. There are no separate passwords per account and no IAM users to manage.
Every session uses temporary credentials that expire after the session duration you configure on the permission set. That’s much safer than long-lived access keys, which tend to end up in scripts, laptops and sometimes public GitHub repositories.
The same works for the command line. Run aws configure sso once to set up a profile, then aws sso login --profile yourprofile each time, and the CLI gets short-lived credentials without you storing any keys on disk.
When it doesn’t work
Most problems come from networking or the identity source: security groups blocking the Windows server from the directory, DNS not pointing at the directory, the identity source not configured properly, or confusion about whether users have synced. Permission problems usually mean the assignment was made to the wrong account or group.
Cleaning up
When you’re done testing, terminate the Windows instance and delete the Managed Microsoft AD directory. Both charge by the hour, and the directory in particular is easy to forget.
Watch the full setup
The video covers enabling Identity Center, creating Managed Microsoft AD, the Windows server and RSAT, joining the domain, creating users and groups, permission sets, account assignments, the sign-in flow and CLI access.
What to learn next
Identity Center is one piece of running a multi-account AWS environment well. Next, look at AWS Organizations in more depth, Service Control Policies (SCPs) to set guardrails no account can override, cross-account IAM roles (see AWS IAM Assume Role), and AWS Control Tower, which sets up much of this for you. The principles stay the same throughout: central access, least privilege and temporary credentials.
