Central security management and root access
Trusted access, delegated administrators, centralized root access and break-glass design across an organization.
Exam tasks: 6.1 (skills 6.1.4 delegated administrators, 6.1.5 root user credentials)
The decision: which account should run each security service for the whole organization, and how do you control root access in member accounts without long-term root credentials?
Security services are enabled once at the organization level and run from a delegated administrator member account, not from the management account. The management account stays nearly empty because SCPs cannot restrict it.
sts:AssumeRoot privileged task session.Core facts
| Concept | What to remember |
|---|---|
| Trusted access | Lets an AWS service act across the org by creating service-linked roles in member accounts. Enable it from the service's own console or CLI so it can initialize and clean up |
| Delegated administrator | A member account registered to run a service for the whole org. Some services allow several |
| Disabling trusted access | Does not block users. Use SCPs or IAM to block use of a service |
| Policy delegation | A resource-based delegation policy lets a member account manage Organizations policies (up to 40,000 characters) |
| SCP scope | SCPs apply to delegated administrator accounts too |
Delegated administrators
Most security services let the management account delegate administration to a member account. The delegated admin can then enable the service in all accounts, auto-enable it for new accounts and see every finding.
- Services you'll see on the exam: GuardDuty, Security Hub and Security Hub CSPM, Amazon Inspector, Macie, Detective, IAM Access Analyzer, AWS Config (rules and conformance packs), Firewall Manager, CloudTrail (for organization trails and Lake), Audit Manager, CloudFormation StackSets, IAM (for root access management).
- Delegate to the security tooling account. One account for all security services keeps the view in one place.
- Turn on auto-enable for new members so a fresh account from Account Factory is covered from its first hour.
- Many services are Regional, so the delegated admin must be designated (and auto-enable set) in every Region you operate in. Cross-Region aggregation then gives one pane of glass.
Enabling it per account
A script that loops over accounts and turns GuardDuty or Security Hub on is a distractor. It misses accounts created later. The organization integration with auto-enable is the answer.
Centralized root access management
Every member account has a root user that SCPs can't fully restrict. Centralized root access management removes the problem.
Member accounts no longer need root credentials. The management account or the IAM delegated administrator can remove them and run short privileged sessions.
| Item | Detail |
|---|---|
| Permission | Caller needs sts:AssumeRoot. The root user cannot call it |
| Endpoint | Regional STS endpoint only. The global endpoint is not supported |
| Session scope | You must pass a task policy. Allowed task policies are IAMAuditRootUserCredentials, IAMCreateRootUserPassword, IAMDeleteRootUserCredentials, S3UnlockBucketPolicy, SQSUnlockQueuePolicy |
| Typical tasks | Delete a bucket policy that denies everyone, delete an SQS queue policy that denies everyone, delete root credentials, allow password recovery |
| Deleting root credentials | Removes password, access keys, signing certificates and deactivates MFA |
| Guardrail | Restrict with the sts:TaskPolicyArn condition key |
- Enable it in IAM (it needs trusted access for IAM in Organizations). Then you can delete root credentials in member accounts: password, access keys, signing certificates and MFA. New accounts are created with no root credentials at all.
- Privileged tasks run through
sts:AssumeRootfrom the management account or the IAM delegated admin, scoped by an AWS managed task policy (for exampleS3UnlockBucketPolicyorIAMDeleteRootUserCredentials). Sessions last up to 900 seconds and must use a Regional STS endpoint. - You can't call
AssumeRootwith root credentials, and you can restrict which task policies a principal may use with thests:TaskPolicyArncondition key. - If a task really needs a member account's root user (a rare billing task, say), run Allow password recovery, do the task, then delete the credentials again.
Break-glass accounts
| Principle | Detail |
|---|---|
| Purpose | Emergency access when normal federation or SSO is down |
| Privileges | Limited and auditable, used strictly during critical incidents |
| Audit | Every action is logged for compliance review |
| Process | Documented, not dependent on one person |
- Keep the management account root with a strong password and MFA (preferably two hardware or passkey
devices), stored with dual control. Watch for any root sign-in with an EventBridge rule on CloudTrail
ConsoleLoginevents where the user identity type isRoot. - Keep a small number of break-glass IAM roles or Identity Center users outside your normal IdP, so an IdP outage doesn't lock you out. Alarm on every use.
- Test the procedure on a schedule. A break-glass path nobody has used in two years usually fails when it's needed.
Exam signal
"Fix an S3 bucket policy that denies all principals in a member account without using the root user": centralized root access with S3UnlockBucketPolicy.
Exam trap
Running GuardDuty, Security Hub or Config admin in the management account works but defeats SCP control. The recommended answer is a delegated administrator in a dedicated security account.
Scenarios
Centralized root access management deletes existing root credentials, creates new accounts without them, and gives short, task-scoped privileged sessions for the few jobs that need root. An SCP can block root actions but leaves the credentials in place and would also block the bucket-policy fix. Storing passwords keeps long-term credentials alive, which is the problem. Control Tower enrollment doesn't delete root credentials on its own.
Delegated administration moves day-to-day work out of the management account, and auto-enable covers accounts created later. Per-account roles and StackSet reruns work, but need ongoing effort and leave gaps between runs. Running the services from the management account is exactly what the requirement forbids.
Related
Organizations, Config aggregators, GuardDuty. Root user and MFA in IAM.