How to Configure Break Glass Policy
A break glass policy controls emergency access when normal login tools fail or lock up. You set it up with dedicated emergency accounts, strict rules, and instant alerts. Teams need a clear path into production systems during severe outages. When an identity provider goes down, engineers still need to fix the problem. Without a planned fallback, teams share root passwords or leave wide permissions open every day. How a break glass policy works in practice This setup creates a fast track for
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
A break glass policy controls emergency access when normal login tools fail or lock up. You set it up with dedicated emergency accounts, strict rules, and instant alerts.
Teams need a clear path into production systems during severe outages. When an identity provider goes down, engineers still need to fix the problem. Without a planned fallback, teams share root passwords or leave wide permissions open every day.
How a break glass policy works in practice
This setup creates a fast track for high-risk situations. It affects on-call engineers, security leads, and site reliability teams. Normal workloads and daily user accounts never touch these emergency paths.
First, you create two or more local admin accounts in your cloud or database. These accounts bypass your external single sign-on tool so they work during identity outages. You protect them with hardware security keys stored in a safe place.
Next, you define the rules for when someone can use these accounts. A good rule requires a declared high-severity incident before anyone logs in. If your normal login tool still works, the policy can require fast approval from a peer.
Safe defaults keep these accounts from becoming a weak spot. Never assign emergency roles to regular user profiles for daily tasks. Keep the emergency accounts idle until a real crisis happens. Set short session limits so the login expires after a few hours. Rotate the passwords and keys right after every emergency use.
Testing, alerts, and gaps after login
An emergency setup fails if nobody knows how to use it under stress. Teams must test their emergency accounts every quarter during calm work hours. A drill checks that the hardware keys work and the permissions still fix the system.
Monitoring is the most important safeguard for emergency accounts. Any login event on a fallback account must trigger a high-priority page to security. The alert should go to a chat room and an on-call phone right away. Since these accounts stay idle, any activity outside a drill is a major event.
Break-Glass Access Procedures + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Still, static account rules leave major blind spots once an engineer logs in. Cloud logs show who signed in and which high-level API calls they ran. They rarely show the exact database queries or shell commands run inside a host.
During an emergency, an engineer gets broad rights to read and write data. Static role settings cannot filter out sensitive customer data from query results. If a query pulls emails, phone numbers, or card numbers, the raw text appears on screen. Masking tools must sit in the path to rewrite matched fields in results.
Also, static cloud roles cannot stop one bad command from dropping a table. Reviewers have to piece together what happened by reading scattered server logs the next day. Post-incident reviews take much longer when teams lack a clear record of every command.
Managing emergency access during live incidents
When a database or server breaks, engineers often need elevated rights on a normal day. Your identity tool is up, so pulling out a physical key wastes time. Teams need a secondary pattern for fast, scoped privilege changes during regular incidents.
In these cases, engineers should request temporary access to a specific resource or command set. A peer on the team approves the request inside their normal chat tool. Once the fix is done, the access drops back to zero without manual cleanup.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
How many emergency accounts should a team create?
Create at least two separate accounts with distinct hardware keys stored in different places. This prevents a single lost key or locked account from blocking recovery.
How often should we test our break glass setup?
Run a full drill once every three months with the on-call team. Make sure the login works, the alerts fire, and the team rotates the keys afterward.
What should happen right after an emergency session ends?
Revoke the active session, rotate the account password, and hold a review with security. Check every action taken during the incident to confirm the system is clean.
Related guides
In this post