Centralising Root Access Management
This lesson explains how AWS provides central control of root access, since every account's root user has unrestricted access and managing hundreds of root passwords and MFA devices does not scale.
Learning outcomes
After completing this lesson, you will be able to:
- Describe centralised root access and the tasks it allows.
- Explain why the management account root user must still be protected.
- Describe break-glass procedures.
Centralised root access
Every AWS account has a root user with unrestricted access to that account, which makes it a prime target for attackers. In a large organisation, protecting a root password and MFA device for every member account is difficult. Centralised root access solves this by letting the management account, or a delegated administrator, remove root credentials from member accounts entirely, while still performing the few tasks that require root through short-term, audited sessions. The following list describes its capabilities.
- Remove root credentials (password, access keys, MFA) from member accounts and block their recovery.
- Accounts created afterwards have no root credentials.
- Privileged root tasks run centrally in short-term root sessions (
sts:AssumeRoot), for example deleting a bucket or SQS policy that locks everyone out.
The following diagram follows the removal of a member account's root credentials with centralised root access management.

Centralised root access
The management account root user
Centralised root access manages member accounts only. The management account's root user keeps its credentials, has full control over the organisation and is not restricted by SCPs, so it is the most valuable identity in the environment. It should be used only for the rare tasks that require it, and every use should be detected. The following list describes the recommended practices.
- A strong password and several MFA devices.
- No access keys.
- Alerts on every root sign-in through EventBridge or a CloudTrail metric filter.
Protecting the management account root
Break-glass procedures
Normal access usually depends on an identity provider, such as IAM Identity Center connected to a corporate directory. If that provider fails or is compromised, administrators may be locked out exactly when they most need access. Break-glass procedures provide emergency access that does not depend on the normal path: sealed credentials for an IAM user or emergency role, held under dual control. Their use requires approval, raises immediate alerts and is reviewed afterwards, and the procedure is tested regularly so that it works when needed and the credentials are known to be valid.
A sound break-glass procedure
Removing root credentials from member accounts
An audit finds that 40 member accounts still have root passwords, some with MFA devices that belonged to staff who have left. With centralised root access enabled, the security account removes them without ever signing in as root:
aws iam enable-organizations-root-credentials-management
aws iam enable-organizations-root-sessions
# For each member account: obtain a short root session scoped to one task
CREDS=$(aws sts assume-root --target-principal 222222222222 \
--task-policy-arn arn=arn:aws:iam::aws:policy/root-task/IAMDeleteRootUserCredentials \
--query Credentials --output json)
# ...then, using those credentials:
# aws iam delete-login-profile
# aws iam list-mfa-devices / deactivate-mfa-device / delete-access-key as neededAccounts created later have no root credentials at all. When a root-only action is needed, such as unlocking an S3 bucket whose policy denies everyone, the security team uses AssumeRoot with the S3UnlockBucketPolicy task policy, and CloudTrail records the session.
A bucket policy locks everyone out of a member account's bucket. How is it fixed?
Show answer
By performing a privileged root task from the management account through centralised root access.
Exam Tips
Remember for the exam
- To give member accounts no root credentials, use centralised root access.
- When a bucket policy locks everyone out, perform a privileged root task from the management account.
- To alert on any root sign-in, use an EventBridge rule or a CloudTrail metric filter.
- Protect the management account root with several MFA devices and no access keys.
- Test break-glass procedures regularly.