AWS Builder Center
AWS IAM Identity Center with Active Directory: multi-account SSO, L1/L2/Admin permission sets and IP restriction

AWS IAM Identity Center with Active Directory: multi-account SSO, L1/L2/Admin permission sets and IP restriction

A step-by-step guide to AWS single sign-on across many accounts: reference architecture, AD Connector setup, L1/L2/Admin permission sets with full JSON, explicit deny on destructive actions, IP restriction for IPv6 and VPC endpoints, SCP guardrails, CLI access and a go-live checklist.

Security Engineer, AWS Certified Security Specialty and Solutions Architect
One login, every AWS account, and nobody gets more access than their job needs.
It's 11 PM and a production incident is open. The on-call engineer needs into the prod account. Somebody pastes a long-lived IAM access key into Slack "just for tonight". Six months later that key is still active, still has AdministratorAccess, and the person who created it has left the company.
I've seen some version of this in more than one AWS estate. It almost always comes from the same root cause: every account has its own IAM users, and nobody owns the full picture.
This guide is how I'd fix it. It's a practical, end-to-end build of AWS single sign-on with IAM Identity Center and Active Directory across many AWS accounts:
  • The reference architecture (with a diagram you can reuse)
  • How SSO sign-in actually works, step by step
  • Connecting Active Directory (AD Connector vs AWS Managed Microsoft AD)
  • Three permission sets, L1 (read-only), L2 (operator) and Admin, with full JSON
  • An explicit deny on destructive actions for L2
  • An IP restriction policy that works with IPv6 and VPC endpoints
  • SCP guardrails that protect the whole setup
  • Onboarding new accounts automatically
  • CLI access, monitoring, and a go-live checklist
Everything here is based on the AWS IAM Identity Center documentation. Replace the example account IDs, IP ranges and group names with your own.



1. Why IAM Identity Center (and not IAM users)

IAM Identity Center (the service formerly called AWS SSO) gives your workforce one sign-in to all AWS accounts in AWS Organizations. Users get temporary credentials for a role in each account. No long-lived access keys, no per-account passwords.
What you get:
Problem with IAM users
With IAM Identity Center
A user per account, per person
One identity, from your Active Directory
Long-lived access keys
Short-lived credentials for every console and CLI session
Leavers keep access until someone remembers
Disable in AD, access goes away
Permissions drift account by account
One permission set, provisioned to many accounts
No central view of who has what
Account assignments in one place
The building blocks:
  • Identity source: where users and groups live. Here it's Active Directory.
  • Permission set: a reusable template of IAM policies (AWS managed, customer managed, inline, and an optional permissions boundary).
  • Account assignment: "this group gets this permission set in these accounts".
  • AWS access portal: the start page users sign in to, which lists their accounts and roles.
When you assign a permission set to an account, IAM Identity Center creates an IAM role in that account (named  AWSReservedSSO_<PermissionSetName>_<random> , under the path  /aws-reserved/sso.amazonaws.com/ ) and keeps its policies in sync. You manage the permission set. Identity Center manages the roles.



2. The reference architecture

Here's the design I'll build:
On-premises
  • Corporate Active Directory (for example  corp.example.com )
  • AD groups:  AWS-L1-ReadOnly ,  AWS-L2-Operator ,  AWS-Admin 
  • Connected to AWS over Site-to-Site VPN or Direct Connect
AWS Organizations
  • Management account: hosts the IAM Identity Center organization instance. Nobody works here day to day.
  • Identity / Security tooling account (delegated administrator for Identity Center): runs the AD Connector in a VPC that can reach your domain controllers.
  • Security OU: Log Archive and Audit accounts. An organization CloudTrail trail delivers to Log Archive.
  • Infrastructure OU: Network and Shared Services accounts.
  • Workloads OU: Prod and Non-Prod accounts.
  • Sandbox OU: experiments.
  • SCPs on each OU as the guardrail that no permission set can override.
Access flow User → AWS access portal → AD password + MFA → choose account and role → temporary credentials →  AWSReservedSSO_*  role in the target account.
Architecture diagram of AWS IAM Identity Center with Active Directory, AD Connector, L1, L2 and Admi


Why the directory sits in a member account

The IAM Identity Center instance always lives in the management account. But the docs recommend keeping people out of the management account, and delegating Identity Center administration to a member account.
There's a catch: if you use Active Directory as the identity source with delegated administration, the directory must be in the delegated administrator account. Decide this before you build. If you create the AD Connector in the management account and delegate later, the delegated admin can't manage it.



3. How AWS SSO sign-in works (step by step)

This is the part most diagrams skip. Here's the full flow for a console login:
  1. The user opens the AWS access portal URL (for example  https://d-1234567890.awsapps.com/start ).
  1. Identity Center sends the credential check to Active Directory through the AD Connector. AD Connector is a gateway. It forwards the request to your domain controllers and caches nothing in the cloud.
  1. Identity Center asks for MFA (FIDO2 security key, passkey, or an authenticator app).
  1. The portal shows only the accounts and permission sets assigned to the user's AD groups.
  1. The user picks, for example, Prod → L2-Operator.
  1. Identity Center federates the user into that account. AWS STS issues temporary credentials for the  AWSReservedSSO_L2-Operator_*  role.
  1. The session lasts for the permission set's session duration (default 1 hour, maximum 12 hours). Then the user goes back through the portal.
For the CLI, it's the same flow through the browser, and the CLI caches the short-lived token (section 10).
Two separate timers matter:
  • Access portal session: how long the user stays signed in to the portal. Default 8 hours, maximum 90 days.
  • Permission set session: how long the role session in an account lasts. Default 1 hour, maximum 12 hours.



4. Connect Active Directory

AD Connector or AWS Managed Microsoft AD?


AD Connector
AWS Managed Microsoft AD + two-way trust
What it is
A proxy to your existing AD
A real AD in AWS, trusted by your on-prem AD
Caches identities in AWS
No
Yes (it's a directory)
Domains supported
One domain
Multiple domains and forests
Password reset from the portal
No, reset in AD
Depends on the setup
Best for
One domain, keep AD on-prem
Multi-domain, multi-forest, or AD workloads in AWS
Notes from the docs:
  • With AD Connector, Identity Center only sees the users and groups of the single domain it attaches to.
  • A trust with AWS Managed Microsoft AD must be two-way. One-way trusts don't work with Identity Center.
  • Simple AD (Samba 4) is not supported.
  • The directory must be in the same Region as your Identity Center instance.
For most single-domain companies, AD Connector is the simpler choice. That's what I'll use.

Steps

1. Network. In the Identity account, create a VPC with two private subnets in different Availability Zones. Route them to your domain controllers over VPN or Direct Connect. Open DNS, Kerberos and LDAP between the AD Connector subnets and the DCs (see the AD Connector prerequisites for the full port list).
2. Service account. In AD, create a dedicated service account for AD Connector with the permissions the AWS Directory Service guide lists (read users and groups, and join computers if you'll use that). Don't use a Domain Admin.
3. Create the AD Connector. AWS Directory Service → Set up directory → AD Connector → enter the DNS name, NetBIOS name, DC IPs and service account.
4. Change the identity source. In the IAM Identity Center console (same Region):
  1. Settings → Identity source → Actions → Change identity source
  1. Choose Active Directory, then your directory
  1. Review, type ACCEPT, and confirm
5. Configure sync scope (configurable AD sync). Identity Center doesn't sync your whole directory. You choose which users and groups to bring in:
  • Add the three groups:  AWS-L1-ReadOnly ,  AWS-L2-Operator ,  AWS-Admin 
  • Nested groups are synced too
  • Changes can take 30 minutes to 2 hours to appear, depending on directory size
  • You can only assign access to users and groups after they've synced
Two behaviours to know before go-live:
  • A user deleted in AD is deleted from the identity store at the next sync.
  • If a user hasn't been synced for more than 28 days (for example they've been removed from every in-scope group), they're disabled. If you pause sync for more than 28 days, all users are disabled. Don't pause and forget.
Tip: Group-based access is the whole point. Never assign individual users to accounts, except for the management account (section 8).

Turn on MFA

In Settings → Authentication, require MFA for every sign-in. Identity Center supports:
  • FIDO2 authenticators: built-in (Touch ID, Windows Hello), security keys (YubiKey), and passkeys. These are phishing-resistant, so prefer them.
  • Authenticator apps (TOTP)
  • RADIUS MFA through AWS Managed Microsoft AD, if you already run one
A user can register up to 8 MFA devices. You can use RADIUS MFA or Identity Center MFA for the portal, not both. If you turn on Identity Center MFA, it overrides RADIUS for portal sign-in.



5. Design the access model: L1, L2 and Admin

Before writing any JSON, write down who needs what. Here's the model:
Level
Who
Can do
Can't do
Session
L1-ReadOnly
SOC L1, support, auditors
See resources, configs, metrics, logs
Read data (S3 objects, secrets, DB items), change anything
4 hours
L2-Operator
SRE, DevOps, SOC L2
Create, update, restart, scale, deploy
Delete critical resources, touch IAM, disable security services
2 hours
Admin
Platform / cloud team leads
Everything in the account
Leave the org, close the account, break SCP guardrails
1 hour
And who gets what, where:
Account
L1
L2
Admin
Management
–
–
Named users only (separate permission set)
Identity / Security tooling
✓
–
Security team
Log Archive
✓
–
–
Network, Shared Services
✓
✓
✓
Non-Prod
✓
✓
✓
Prod
✓
✓
Time-bound elevation only
Sandbox
✓
✓
✓
L1-ReadOnly, L2-Operator and Admin permission sets with managed policies, allowed and denied actions

Rule of thumb: the more sensitive the account, the shorter the session and the smaller the group.
All three permission sets share one more control: IP restriction. Let's build that first.



6. The IP restriction policy (and its traps)

Goal: an L1, L2 or Admin session can only call AWS APIs from the corporate network or VPN.
You put this as an inline policy in every permission set. Identity Center provisions it into each account with the role, so you don't need to create a customer managed policy in every account.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DenyOutsideCorporateNetwork",
"Effect": "Deny",
"Action": "*",
"Resource": "*",
"Condition": {
"NotIpAddress": {
"aws:SourceIp": [
"203.0.113.0/24",
"198.51.100.10/32",
"2001:db8:1234::/48"
]
},
"Bool": { "aws:ViaAWSService": "false" },
"Null": { "aws:SourceVpc": "true" }
}
}
]
}
What each condition does (all three must be true for the deny to apply):
  •  NotIpAddress  on  aws:SourceIp : the request didn't come from your office or VPN egress IPs.
  •  aws:ViaAWSService = false : the request was made directly by the user, not by an AWS service on the user's behalf. Without this, things like CloudFormation creating resources, or Athena reading S3, break.
  •  aws:SourceVpc  is null: the request didn't come through a VPC endpoint. Requests through a VPC endpoint carry a private IP, not your public egress IP, so without this line you'd block your own jump hosts.
Traps I'd test before rollout:
  1. IPv6. IAM Identity Center has dual-stack endpoints, and many AWS APIs do too. If your office network has IPv6, add your IPv6 ranges next to the IPv4 ones, or users get mysterious "explicit deny" errors. Always use  IpAddress  /  NotIpAddress , never string operators, for IPs.
  1. The console still loads. Sign-in to the access portal isn't blocked by this policy. A user outside the network can open the console, but every API call is denied, so pages are empty or show errors. That's expected. If you need to block the portal itself by IP, do it in your identity provider (for example Microsoft Entra ID Conditional Access) or on the network.
  1. CloudShell. CloudShell calls come from CloudShell's own IPs, so they're denied. Some guides exempt CloudShell by matching  aws:userAgent , but the user agent is set by the client, so it's easy to fake. I'd rather leave CloudShell blocked and have people use the CLI from the VPN.
  1. Lock-out. Keep a break-glass path that doesn't depend on this policy (section 8).



7. The three permission sets

L1-ReadOnly

Managed policies:  ViewOnlyAccess  (job function) and  AWSSupportAccess  Session duration: 4 hours Inline policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DenyOutsideCorporateNetwork",
"Effect": "Deny",
"Action": "*",
"Resource": "*",
"Condition": {
"NotIpAddress": {
"aws:SourceIp": ["203.0.113.0/24", "198.51.100.10/32", "2001:db8:1234::/48"]
},
"Bool": { "aws:ViaAWSService": "false" },
"Null": { "aws:SourceVpc": "true" }
}
},
{
"Sid": "AllowLogTriage",
"Effect": "Allow",
"Action": [
"logs:FilterLogEvents",
"logs:GetLogEvents",
"logs:StartQuery",
"logs:GetQueryResults",
"cloudwatch:GetMetricData"
],
"Resource": "*"
},
{
"Sid": "DenyDataPlaneReads",
"Effect": "Deny",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion",
"secretsmanager:GetSecretValue",
"ssm:GetParameter",
"ssm:GetParameters",
"ssm:GetParametersByPath",
"kms:Decrypt",
"dynamodb:GetItem",
"dynamodb:BatchGetItem",
"dynamodb:Query",
"dynamodb:Scan",
"lambda:GetFunction"
],
"Resource": "*"
}
]
}
Why  ViewOnlyAccess  and not  ReadOnlyAccess ?  ReadOnlyAccess  lets you read data, such as S3 objects. An L1 analyst needs to see that a bucket exists and how it's configured, not download the customer file inside it.  ViewOnlyAccess  shows resources and metadata. The inline Allow adds log and metric reads for triage, and the explicit Deny makes sure no other policy ever grants data reads to this role. ( lambda:GetFunction  is denied because it returns a link to download the function code.)

L2-Operator: write access, explicit deny on delete

Managed policy:  PowerUserAccess  Session duration: 2 hours
 PowerUserAccess  allows almost everything except IAM, Organizations and account management. That's the right starting point for operators: they can deploy, scale, restart and change configs. But it also allows deleting a production database. So we add explicit denies.
An explicit Deny always wins in IAM policy evaluation. No allow, in any policy, can override it.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DenyOutsideCorporateNetwork",
"Effect": "Deny",
"Action": "*",
"Resource": "*",
"Condition": {
"NotIpAddress": {
"aws:SourceIp": ["203.0.113.0/24", "198.51.100.10/32", "2001:db8:1234::/48"]
},
"Bool": { "aws:ViaAWSService": "false" },
"Null": { "aws:SourceVpc": "true" }
}
},
{
"Sid": "DenyDestructiveActions",
"Effect": "Deny",
"Action": [
"ec2:TerminateInstances",
"ec2:DeleteVolume",
"ec2:DeleteSnapshot",
"ec2:DeleteVpc",
"ec2:DeleteSubnet",
"ec2:DeleteTransitGateway",
"rds:DeleteDBInstance",
"rds:DeleteDBCluster",
"rds:DeleteDBSnapshot",
"rds:DeleteDBClusterSnapshot",
"s3:DeleteBucket",
"s3:DeleteBucketPolicy",
"s3:PutBucketPolicy",
"s3:PutLifecycleConfiguration",
"dynamodb:DeleteTable",
"dynamodb:DeleteBackup",
"eks:DeleteCluster",
"lambda:DeleteFunction",
"cloudformation:DeleteStack",
"elasticloadbalancing:DeleteLoadBalancer",
"route53:DeleteHostedZone",
"logs:DeleteLogGroup",
"backup:DeleteBackupVault",
"backup:DeleteRecoveryPoint",
"kms:ScheduleKeyDeletion",
"kms:DisableKey"
],
"Resource": "*"
},
{
"Sid": "DenySecurityTampering",
"Effect": "Deny",
"Action": [
"cloudtrail:StopLogging",
"cloudtrail:DeleteTrail",
"cloudtrail:UpdateTrail",
"cloudtrail:PutEventSelectors",
"guardduty:DeleteDetector",
"guardduty:DisassociateFromAdministratorAccount",
"config:StopConfigurationRecorder",
"config:DeleteConfigurationRecorder",
"config:DeleteDeliveryChannel",
"securityhub:DisableSecurityHub",
"access-analyzer:DeleteAnalyzer"
],
"Resource": "*"
}
]
}
Design notes:
  •  s3:PutBucketPolicy  and  s3:PutLifecycleConfiguration  are on the list on purpose. A new bucket policy can make data public, and a lifecycle rule can expire every object in a bucket. Both are "delete" in disguise.
  •  kms:ScheduleKeyDeletion  and  kms:DisableKey : losing a KMS key means losing every piece of data encrypted with it.
  •  cloudformation:DeleteStack  blocks the easy path of deleting a whole stack. If L2 must delete stacks in Non-Prod, use a separate  L2-NonProd  permission set without this line, and assign it only to Non-Prod accounts.
  • Deletes still happen, through change-managed pipelines or the Admin role. That's the point: deleting a prod database should be a reviewed change, not a 2 AM click.

Admin

Managed policy:  AdministratorAccess  Session duration: 1 hour Inline policy: the IP guardrail, plus:
{
"Sid": "DenyLeavingOrgAndBillingChanges",
"Effect": "Deny",
"Action": [
"organizations:LeaveOrganization",
"account:CloseAccount",
"account:PutAlternateContact",
"account:DeleteAlternateContact"
],
"Resource": "*"
}
Admin is powerful, so keep it small:
  • Short session (1 hour)
  • Assigned to a small AD group ( AWS-Admin )
  • In Prod, use time-bound elevation instead of a standing assignment. AWS documents a pattern for temporary elevated access with IAM Identity Center (for example the open-source TEAM solution): a user requests Admin for a reason and a time window, someone approves, and the assignment is removed automatically.

Create them with the CLI

From the delegated administrator account:
# Find your instance
aws sso-admin list-instances

INSTANCE_ARN="arn:aws:sso:::instance/ssoins-1234567890abcdef"

# 1. Create the permission set
PS_ARN=$(aws sso-admin create-permission-set \
--instance-arn "$INSTANCE_ARN" \
--name L2-Operator \
--description "Operators: write access, no destructive actions" \
--session-duration PT2H \
--query 'PermissionSet.PermissionSetArn' --output text)

# 2. Attach the AWS managed policy
aws sso-admin attach-managed-policy-to-permission-set \
--instance-arn "$INSTANCE_ARN" \
--permission-set-arn "$PS_ARN" \
--managed-policy-arn arn:aws:iam::aws:policy/PowerUserAccess

# 3. Add the inline policy (IP restriction + explicit denies)
aws sso-admin put-inline-policy-to-permission-set \
--instance-arn "$INSTANCE_ARN" \
--permission-set-arn "$PS_ARN" \
--inline-policy file://l2-inline.json
Repeat for  L1-ReadOnly  ( PT4H ,  ViewOnlyAccess  at  arn:aws:iam::aws:policy/job-function/ViewOnlyAccess , plus  AWSSupportAccess ) and  Admin  ( PT1H ,  AdministratorAccess ).
In production, keep these in Terraform or CloudFormation ( AWS::SSO::PermissionSet  and  AWS::SSO::Assignment ), reviewed through pull requests. Permission sets are code.



8. Assign groups to accounts (multi-account onboarding)

Assign

IDENTITY_STORE_ID="d-1234567890"

# Look up the AD group synced into Identity Center
GROUP_ID=$(aws identitystore get-group-id \
--identity-store-id "$IDENTITY_STORE_ID" \
--alternate-identifier '{"UniqueAttribute":{"AttributePath":"displayName","AttributeValue":"AWS-L2-Operator"}}' \
--query GroupId --output text)

# Give that group L2-Operator in the Prod account
aws sso-admin create-account-assignment \
--instance-arn "$INSTANCE_ARN" \
--target-id 444455556666 \
--target-type AWS_ACCOUNT \
--permission-set-arn "$PS_ARN" \
--principal-type GROUP \
--principal-id "$GROUP_ID"
Identity Center creates the  AWSReservedSSO_L2-Operator_*  role in account  444455556666 . When you later change the permission set, push the change to every account:
aws sso-admin provision-permission-set \
--instance-arn "$INSTANCE_ARN" \
--permission-set-arn "$PS_ARN" \
--target-type ALL_PROVISIONED_ACCOUNTS

Onboard new accounts automatically

Assignments are per account. When someone creates a new account, it has no access until someone assigns it. Automate the baseline:
  1. In the management account, create an EventBridge rule in us-east-1 (AWS Organizations events are delivered there) for  source: aws.organizations  and  eventName: CreateAccountResult . If you use AWS Control Tower, use its  CreateManagedAccount  lifecycle event instead.
  1. Target a Lambda function that reads the new account ID and its OU, then calls  create-account-assignment  for the baseline:  L1-ReadOnly  everywhere, plus  L2-Operator  and  Admin  according to the OU (the matrix in section 5).
  1. Log every assignment it makes.
Now every new account comes with the right access from the first minute, and nobody has to remember.

The management account is special

  • The delegated administrator can't change permission sets provisioned in the management account. Only a management account administrator can.
  • Create a separate permission set for management account access (for example  Mgmt-Admin ).
  • Assign it to named users, not groups. Anyone who can change AD group membership could otherwise give themselves management account access.

Keep a break-glass path

If the AD Connector, the VPN or the domain controllers go down, nobody can sign in through Identity Center. Keep one or two emergency IAM users in the management account, with hardware MFA, credentials in a safe, no access keys, and an alarm on every sign-in. Test them every quarter.



9. SCP guardrails that protect the setup

Permission sets decide what a role can do. SCPs decide what anyone in the account can do, including account admins. Attach these at the OU level:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ProtectIdentityCenterRoles",
"Effect": "Deny",
"Action": [
"iam:AttachRolePolicy",
"iam:DetachRolePolicy",
"iam:PutRolePolicy",
"iam:DeleteRolePolicy",
"iam:UpdateAssumeRolePolicy",
"iam:PutRolePermissionsBoundary",
"iam:DeleteRolePermissionsBoundary",
"iam:UpdateRole",
"iam:DeleteRole"
],
"Resource": "arn:aws:iam::*:role/aws-reserved/sso.amazonaws.com/*"
},
{
"Sid": "ProtectSecurityServices",
"Effect": "Deny",
"Action": [
"cloudtrail:StopLogging",
"cloudtrail:DeleteTrail",
"guardduty:DeleteDetector",
"config:StopConfigurationRecorder",
"securityhub:DisableSecurityHub",
"organizations:LeaveOrganization"
],
"Resource": "*",
"Condition": {
"ArnNotLike": {
"aws:PrincipalArn": "arn:aws:iam::*:role/SecurityBaselinePipeline"
}
}
},
{
"Sid": "DenyRootUser",
"Effect": "Deny",
"Action": "*",
"Resource": "*",
"Condition": {
"StringLike": { "aws:PrincipalArn": "arn:aws:iam::*:root" }
}
}
]
}
  • ProtectIdentityCenterRoles stops a local admin from editing the  AWSReservedSSO_*  roles, for example to widen their trust policy. Identity Center itself manages these roles through a service-linked role, and SCPs don't apply to service-linked roles, so provisioning keeps working.
  • ProtectSecurityServices keeps CloudTrail, GuardDuty, Config and Security Hub on, except for your own security pipeline role.
  • DenyRootUser blocks the root user in member accounts. SCPs don't apply to the management account, which is one more reason to keep it empty.
From the delegated administration best practices, two more for the Identity account:
  • With an external identity source like AD, the directory is the source of truth. Deny  identitystore:CreateGroupMembership  so nobody adds members to groups directly in Identity Center (check your provisioning doesn't use it first).
  • Deny  sso-directory:CreateBearerToken  unless you're setting up SCIM. You're using AD sync, so you don't need SCIM tokens.
Test every SCP on a Sandbox OU first.



10. CLI access with SSO (no more access keys)

Each user runs this once:
aws configure sso
# SSO session name: corp
# SSO start URL: https://d-1234567890.awsapps.com/start
# SSO region: ap-south-1
# Then pick the account and role, e.g. Prod / L2-Operator
Daily use:
aws sso login --sso-session corp
aws s3 ls --profile prod-l2
The CLI opens the browser, the user signs in with AD and MFA, and the CLI gets short-lived credentials. When the session expires, run  aws sso login  again. Now you can delete the old IAM users and their access keys. That's the real win.



11. Monitoring: who changed access, and who used it

Send these CloudTrail events from the management and delegated admin accounts to your SIEM, and alert on them:
Event
Why it matters
 CreateAccountAssignment ,  DeleteAccountAssignment 
Someone gained or lost access to an account
 AttachManagedPolicyToPermissionSet ,  PutInlinePolicyToPermissionSet ,  DeleteInlinePolicyFromPermissionSet 
A permission set changed (did someone remove the deny?)
 CreatePermissionSet ,  DeletePermissionSet 
New or removed role templates
Identity source changes
The front door changed
 ConsoleLogin  by any IAM user in the management account
Break-glass was used
Also:
  • Use IAM Access Analyzer to find unused permissions in each permission set and trim them.
  • Review assignments every quarter: export them with  list-account-assignments  and ask each team lead to confirm.



12. Go-live checklist

  • [ ] Identity Center enabled in the management account, in the same Region as the directory
  • [ ] Delegated administrator registered ( aws organizations register-delegated-administrator --account-id <id> --service-principal sso.amazonaws.com )
  • [ ] AD Connector (or Managed AD with two-way trust) in the delegated admin account
  • [ ] Configurable AD sync: only the AWS groups in scope, sync confirmed
  • [ ] MFA required, FIDO2 preferred
  • [ ]  L1-ReadOnly ,  L2-Operator ,  Admin  created as code, with session durations
  • [ ] IP guardrail tested from office, VPN, home, IPv6 and a VPC endpoint
  • [ ] L2 explicit denies tested in Sandbox (try to delete something, expect "explicit deny")
  • [ ] Group assignments follow the account matrix
  • [ ] Management account: separate permission set, named users only
  • [ ] New-account automation (EventBridge + Lambda) tested
  • [ ] SCP guardrails on every OU
  • [ ] Break-glass IAM users with hardware MFA, tested
  • [ ] CloudTrail alerts on assignment and permission set changes
  • [ ] Old IAM users and access keys removed



Wrapping up

SSO isn't just about convenience. Done right, it's the biggest identity risk reduction you can make in AWS:
  • One identity per person, from Active Directory
  • Short-lived credentials instead of access keys
  • L1 / L2 / Admin that match real job roles
  • Explicit denies that protect production from honest mistakes
  • IP restriction that keeps API access on the corporate network
  • SCPs that nobody, not even an account admin, can bypass
Start with one Sandbox account, one AD group and the L1 permission set. Once that works, the rest is repeating the pattern.
If this helped, share it with the person who owns IAM in your company. And tell me in the comments: are you still using IAM users anywhere?
Dipnarayan Nandi, Security Engineer


References (AWS documentation)
  • IAM Identity Center User Guide: Manage AWS accounts with permission sets
  • Connect a directory in AWS Managed Microsoft AD to IAM Identity Center
  • Connect a self-managed directory in Active Directory to IAM Identity Center
  • How configurable AD sync works
  • Delegated administration in IAM Identity Center
  • Available MFA types for IAM Identity Center
  • IAM User Guide: AWS: Denies access to AWS based on the source IP
  • AWS IAM Identity Center IPv6 dual-stack support (What's New, 2026)
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article