Lesson 7 of 7 Multi-Account Strategy and Governance

Designing Break-Glass Emergency Access

This lesson explains break-glass access, the controlled emergency path into an organisation when the identity provider, IAM Identity Center or a misconfigured guardrail stops administrators signing in.

Learning outcomes

After completing this lesson, you will be able to:

  • Design break-glass access that does not depend on the systems that might fail.
  • Explain how every use of break-glass credentials is detected and reviewed.
  • Explain why the procedure must be tested regularly.

Designing break-glass access

Break-glass access must work precisely when normal access does not, so it cannot depend on the systems that might fail: the corporate identity provider, IAM Identity Center or the network path to them. It therefore uses a small number of IAM users or roles reserved for emergencies, usually in the management account or a dedicated security account, with the ability to reach member accounts through roles.

The credentials are protected with hardware MFA, and the password and MFA device are held in a safe, split between people so that no individual can use them alone. Because a misconfigured SCP is one of the failures break-glass access must survive, the break-glass roles are exempted from restrictive SCPs with an aws:PrincipalArn condition. Their permissions are sufficient to restore normal access, for example to repair Identity Center or correct an SCP, rather than unlimited by default.

Detecting and reviewing use

Break-glass credentials should never be used silently. An EventBridge rule on their sign-in or on any API call by the break-glass role alerts the security team immediately, and every use is followed by a review of what was done, after which the credentials are rotated.

Keeping it working

An emergency procedure that has never been tried usually fails when it is needed, because passwords expire, MFA devices are lost or the people who knew the procedure have left. Break-glass access is therefore tested on a schedule, with the alerting and review steps exercised as well, so that both the credentials and the people work.

The procedure itself is stored somewhere that does not depend on the systems that might fail, such as a printed runbook kept with the credentials, rather than only on an internal wiki behind the same identity provider. Whenever SCPs change, the exemption conditions for the break-glass roles are reviewed, so a new guardrail cannot silently remove the emergency path.

Worked example

A change to the identity provider's SAML certificate breaks federation to IAM Identity Center, and no administrator can sign in to any account. The company wants to ensure this can never leave it without access again, without creating standing administrator users that could be misused.

The answer is a break-glass role in a small number of accounts, reachable from an IAM user with hardware MFA whose credentials are split and stored in a safe, exempted from SCPs by principal ARN, and monitored by an EventBridge rule that pages the security team on any use. A scheduled test confirms that the procedure works.

Check yourself

How should every use of a break-glass role be noticed?

Show answer

An EventBridge rule on the role's sign-in or AssumeRole events in CloudTrail alerts the security team each time it is used, so every use is reviewed.

Exam Tips

Remember for the exam

  • Keep a break-glass path that does not depend on the identity provider or Identity Center.
  • Protect break-glass credentials with hardware MFA and split custody.
  • Exempt break-glass roles from restrictive SCPs with an aws:PrincipalArn condition.
  • Alert on every use of break-glass credentials and review it afterwards.
  • Test the break-glass procedure regularly.