Restrict IAM User Creation in Central Landing Zone Accounts
Specification & Description
Prevent the creation of IAM users in central landing zone accounts (Management, Log Archive, Audit, Security, Network) to enforce exclusive use of IAM Identity Center for human access and IAM roles for service access.
Technical Specifications
This control is the account-scoped enforcement complement to AWS-IAM-004, which defines the SCP and the organization-wide identity strategy. The SCP that denies iam:CreateUser, iam:CreateLoginProfile, iam:CreateAccessKey, and iam:UpdateLoginProfile is defined in AWS-IAM-004 and applied at the central accounts OU. This control adds the detective layer: scanning central accounts for any IAM user other than the documented break-glass user (AWS-IAM-008) and treating any additional user as a violation. The only permitted IAM user in any central account is the break-glass user in the Management account.
Security Rationale
IAM users carry long-lived credentials that persist until manually rotated, cannot be centrally revoked by removing an IdP group assignment, and do not benefit from Identity Center's session duration limits or centralized MFA enforcement. Central landing zone accounts are the highest-value targets in the organization - credential sprawl in these accounts is disproportionately risky compared to workload accounts.
Business & Security Impact
Any existing IAM users in central accounts must be migrated to Identity Center before the SCP from AWS-IAM-004 is applied. Applying the SCP before migration will not delete existing users but will prevent new ones and may break automation that relies on IAM user credentials.
Policy Exceptions (1)
The break-glass IAM user in the Management account (AWS-IAM-008) is the only permitted IAM user in any central account. Detection queries must explicitly exclude UserName='break-glass' from violation findings.
Operational & Implementation Notes
The SCP enforcing this control lives in AWS-IAM-004 and must be applied before this control is considered fully enforced. This control contributes only the detective and remediation layers. The user deletion script removes login profiles, access keys, and attached policies before deleting the user - skipping any of these steps will cause the delete-user call to fail with a DeleteConflict error. Run the audit against each central account separately by switching profiles or using aws sts assume-role before each invocation.
Official References
Compliance Framework Mappings (5)
Regulatory baselines and industry standards mapped to this control specification.
| Framework / Standard | Mapped Requirements & Controls | Controls |
|---|---|---|
CIS AWS Foundations Benchmark v3.0CIS AWS | 1.17 | 1 |
NIST 800-53 Rev 5NIST 800-53 | AC-2AC-6 | 2 |
ISO 27001:2022ISO 27001 | A.8.2 | 1 |
SOC 2SOC 2 | CC6.1 | 1 |
AWS Foundational Security Best PracticesAWS FSBP | IAM.21 | 1 |
* Compliance framework mappings are provided for informational architectural reference. Always verify control alignment against your organization's formal audit requirements.
Remediation Guide & Automation
Inventory all IAM users in central accounts. Migrate each to an Identity Center group assignment. Confirm the SCP from AWS-IAM-004 is attached to the central accounts OU. Delete all non-break-glass IAM users.
Step-by-Step Instructions
- Run the detection query below against each central account to list all IAM users.
- For each user found (excluding break-glass), identify the owner and migrate access to an IAM Identity Center group assignment.
- Delete the IAM user's login profile, access keys, and then the user itself once migrated.
- Confirm the SCP from AWS-IAM-004 enforcement_reference is attached to the central accounts OU.