<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/break-glass-access-needs-an-expiry-not-just-a-flag-l0qyyz3tc" -->

---
title: Break-glass access needs an expiry, not just a flag
description: Emergency override switches that bypass all policies are useful during incidents but dangerous if left in place. The recommendation is to replace permanent...
canonical: https://daily.dev/posts/break-glass-access-needs-an-expiry-not-just-a-flag-l0qyyz3tc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Break-glass access needs an expiry, not just a flag | daily.dev
og:description: Emergency override switches that bypass all policies are useful during incidents but dangerous if left in place. The recommendation is to replace permanent...
og:url: https://daily.dev/posts/break-glass-access-needs-an-expiry-not-just-a-flag-l0qyyz3tc
og:image: https://api.daily.dev/og/posts/L0QyyZ3tC.png
og:image:alt: Break-glass access needs an expiry, not just a flag
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Break-glass access needs an expiry, not just a flag

**[Auth By Example](https://daily.dev/sources/7eadcwhmohx0bchehapmt)** · [@authbyexample](https://daily.dev/authbyexample) · 1 min read · 0 upvotes · 0 comments

## Summary

Emergency override switches that bypass all policies are useful during incidents but dangerous if left in place. The recommendation is to replace permanent break-glass flags with time-boxed grants, mandatory reason codes, and audit events that record who activated the override and when it automatically reverts. A break-glass flag without an expiry is effectively a standing privilege that never gets revoked.

## Content

Emergency “override all policies” switches help during incidents — and hurt if they stick. Prefer a time-boxed grant, a clear reason code, and an audit event that names who flipped it and when it reverts. A permanent break-glass flag is just another privilege that never expires.

## Similar posts on daily.dev

- [Break Glass Accounts Are Not ‘Set and Forget’: Best Practices and Monitoring in Microsoft Entra ID](https://daily.dev/posts/break-glass-accounts-are-not-set-and-forget-best-practices-and-monitoring-in-microsoft-entra-id-ojbutde7w) · InfoSec Write-ups · 0 upvotes · 0 comments
- [Un-break-able](https://daily.dev/posts/un-break-able-0dm9hfrqh) · The Daily WTF · 0 upvotes · 0 comments
- [The Feature Flag Graveyard: How a Safety Net Becomes Technical Debt](https://daily.dev/posts/the-feature-flag-graveyard-how-a-safety-net-becomes-technical-debt-sejgd2oau) · CodeCraft Diary · 16 upvotes · 16 comments

---

Tags: [#security](https://daily.dev/tags/security), [#logging](https://daily.dev/tags/logging)

[View this post on daily.dev](https://daily.dev/posts/break-glass-access-needs-an-expiry-not-just-a-flag-l0qyyz3tc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/break-glass-access-needs-an-expiry-not-just-a-flag-l0qyyz3tc","headline":"Break-glass access needs an expiry, not just a flag","text":"Emergency override switches that bypass all policies are useful during incidents but dangerous if left in place. The recommendation is to replace permanent break-glass flags with time-boxed grants, mandatory reason codes, and audit events that record who activated the override and when it automatically reverts. A break-glass flag without an expiry is effectively a standing privilege that never gets revoked.","url":"https://daily.dev/posts/break-glass-access-needs-an-expiry-not-just-a-flag-l0qyyz3tc","datePublished":"2026-09-20T10:27:26.369Z","dateModified":"2026-09-20T10:27:39.416Z","author":{"@type":"Person","name":"Auth By Example","url":"https://daily.dev/authbyexample","image":"https://media.daily.dev/image/upload/s--Fgz7IgGQ--/f_auto/v1789653205/avatars/avatar_7EADCwHmOHX0bChEhAPmt?_a=BAMAMicg0","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/7eadcwhmohx0bchehapmt","name":"Auth By Example"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Auth By Example","item":"https://daily.dev/sources/7eadcwhmohx0bchehapmt"},{"@type":"ListItem","position":3,"name":"Break-glass access needs an expiry, not just a flag"}]}
```

