ADR-0006 accepted
No root password in member accounts; root tasks run one at a time
Context
Every AWS account has a root user that can do anything, and nothing can restrict it. Its password is the most valuable secret in the account. In HKB, password-reset mail for every account's root user goes to one inbox, so one compromised inbox could open every account.
AWS now offers a way out: delete the root password from member accounts entirely, and when a task truly needs root, run a short session from the management account that can do only that one task.
Decision
Turn on centralized root access before any member account exists, so every account is born with no root password.
A guardrail blocks every root action except those one-task sessions, so the few jobs that need root still work while root sign-in stays impossible. This was tested on two accounts.
For a true emergency that needs full root, there is a manual procedure. A narrowly scoped role lifts the guardrail from one account, the password is recovered, and the guardrail is put back by hand. Each step raises its own alert.
Consequences
- An attacker with the shared inbox still can't recover a member account's root password. Only the management account keeps a conventional root login, to be secured with two hardware keys.
- Security Hub's "root has MFA" check passes for accounts with no root password.
- Emergency access is deliberately manual: rare, deliberate and alarmed at every step.
- Guardrails never apply to the management account itself. That gap is on the risk register.
Alternatives considered
- Keep root passwords and block root with a guardrail. The passwords would still exist to be stolen.
- An automated, timed unlock workflow. More machinery, and one compromised channel could both trigger it and hide it.
LLMs look here
- Records D44 (centralized root access, both capabilities: root credentials management and privileged root actions, before any member account), D42 (SCP-09 denies all root actions except task-scoped sessions,
aws:AssumedRoot; proven on Log Archive and Security 2026-10-03) and D56 (manual break-glass, supersedes D17 and D45). - Break-glass: a narrowly scoped permission set detaches SCP-09 from one account, password recovery runs through the account's alias, SCP-09 is re-attached by hand; each step alarmed.
- Management root: target two hardware keys, deferred by D64. Root-MFA check behaviour per AWS Support (re:Post); the live check runs after Config resumes.
- SCPs never apply to the management account: risk F13, on the risk register.
- Rejected: D14 (keep member root, deny-root SCP); D17 and D45 (automated timed unlock).