Skip to Content
Asterrr's Handbook
6 · Security foundations and governance

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.

Management accountDelegated administrator accountdelegatedelegatedelegateenrollenrollcompliance dataTrusted accessGuardDuty adminSecurity HubadminConfigaggregatorMember accounts
The management account grants trusted access and registers a security account. That account then manages findings and compliance for every member.
900 s
Maximum session length for an sts:AssumeRoot privileged task session.
5
AWS managed root task policies: audit credentials, create password, delete credentials, unlock S3 bucket policy, unlock SQS queue policy.

Core facts

ConceptWhat to remember
Trusted accessLets 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 administratorA member account registered to run a service for the whole org. Some services allow several
Disabling trusted accessDoes not block users. Use SCPs or IAM to block use of a service
Policy delegationA resource-based delegation policy lets a member account manage Organizations policies (up to 40,000 characters)
SCP scopeSCPs 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.

sts:AssumeRoot + taskpolicy, max 15 minManagement account enablesroot access management anddelegates it to IAM adminSecurity tooling account(delegated admin for IAM)Member accountDelete root credentialsUnlock deny-allS3 bucket policyUnlock deny-allSQS queue policyAllow password recovery
Diagram of root user control

Member accounts no longer need root credentials. The management account or the IAM delegated administrator can remove them and run short privileged sessions.

ItemDetail
PermissionCaller needs sts:AssumeRoot. The root user cannot call it
EndpointRegional STS endpoint only. The global endpoint is not supported
Session scopeYou must pass a task policy. Allowed task policies are IAMAuditRootUserCredentials, IAMCreateRootUserPassword, IAMDeleteRootUserCredentials, S3UnlockBucketPolicy, SQSUnlockQueuePolicy
Typical tasksDelete a bucket policy that denies everyone, delete an SQS queue policy that denies everyone, delete root credentials, allow password recovery
Deleting root credentialsRemoves password, access keys, signing certificates and deactivates MFA
GuardrailRestrict 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:AssumeRoot from the management account or the IAM delegated admin, scoped by an AWS managed task policy (for example S3UnlockBucketPolicy or IAMDeleteRootUserCredentials). Sessions last up to 900 seconds and must use a Regional STS endpoint.
  • You can't call AssumeRoot with root credentials, and you can restrict which task policies a principal may use with the sts:TaskPolicyArn condition 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

PrincipleDetail
PurposeEmergency access when normal federation or SSO is down
PrivilegesLimited and auditable, used strictly during critical incidents
AuditEvery action is logged for compliance review
ProcessDocumented, 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 ConsoleLogin events where the user identity type is Root.
  • 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

Scenario
A logistics company has 140 member accounts in AWS Organizations. An internal audit found that 23 member accounts still have root user passwords and access keys, and nobody knows who holds them. The security team wants to remove these credentials, stop new accounts from ever getting root credentials, and still be able to fix an S3 bucket whose policy accidentally denies everyone. What should the team do?
Scenario
A retailer wants its security operations team to manage GuardDuty, Security Hub CSPM and Amazon Inspector for all current and future accounts in the organization. The management account must not be used for day-to-day security work. What is the MOST operationally efficient approach?

Organizations, Config aggregators, GuardDuty. Root user and MFA in IAM.

Further reading

On this page