{"type":"post","id":"retiring-a-key-isn-t-destroying-it-b570d4","slug":"retiring-a-key-isn-t-destroying-it-b570d4","title":"Retiring a Key Isn't Destroying It","description":"Permanent destruction is the step that makes key lifecycle design consequential.","retrieval_nugget":"Permanent destruction is the step that makes key lifecycle design consequential.","published_at":"2026-11-29","updated_at":"2026-11-29","record_date":"2026-11-29","date_kind":"published_at","topics":["google"],"entities":["Google Cloud KMS","OpenBao"],"related_patterns":["agent-security-moves-to-runtime-boundaries"],"novelty_label":"new_fact","what_changed":"The piece details a two-step HSM key lifecycle—reversible retirement followed by delayed permanent destruction—and explains when certificates make retirement safe.","prior_refs":[],"source_url":"https://hacdias.com/2026/11/29/retiring-keys","source_urls":["https://hacdias.com/2026/11/29/retiring-keys"],"production":{"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-29T17:00:24.922Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_fact","confidence":"medium"},"editorial_value":"medium","human_review":"selective"},"citations":[{"claim":"","quotes":["Recently, I added support for keys stored in an HSM or a vault at work.","Before that, we only had software keys, encrypted at rest in our database."],"cite_url":"https://hacdias.com/2026/11/29/retiring-keys#:~:text=Recently%2C%20I%20added%20support%20for%20keys%20stored%20in%20an%20HSM%20or%20a%20vault%20at%20work.&text=Before%20that%2C%20we%20only%20had%20software%20keys%2C%20encrypted%20at%20rest%20in%20our%20database.","source_url":"https://hacdias.com/2026/11/29/retiring-keys","publisher":"hacdias.com"},{"claim":"But an imported certificate submitted through a CSR can only be revoked by its issuer, so the system also offers early release to mark a key as no longer needed even if that certificate may remain valid.","quotes":["The safe answer is once every certificate it backs is either revoked or expired."],"cite_url":"https://hacdias.com/2026/11/29/retiring-keys#:~:text=The%20safe%20answer%20is%20once%20every%20certificate%20it%20backs%20is%20either%20revoked%20or%20expired.","source_url":"https://hacdias.com/2026/11/29/retiring-keys","publisher":"hacdias.com"},{"claim":"Retirement immediately stops signing and expires other scheduled actions.","quotes":["There is still an edge case though: certificates you can’t revoke yourself. An imported certificate (via a CSR ) can only be revoked by its issuer, while the key backing the certificate’s request is ours.","In that case, we provide an explicit early release, which marks the key as no longer needed even though the certificate may still be valid."],"cite_url":"https://hacdias.com/2026/11/29/retiring-keys#:~:text=There%20is%20still%20an%20edge%20case%20though%3A%20certificates%20you%20can%E2%80%99t%20revoke%20yourself.%20An%20imported%20certificate%20%28via%20a%20CSR%20%29%20can%20only%20be%20revoked%20by%20its%20issuer%2C%20while%20the%20key%20backing%20the%20certificate%E2%80%99s%20request%20is%20ours.&text=In%20that%20case%2C%20we%20provide%20an%20explicit%20early%20release%2C%20which%20marks%20the%20key%20as%20no%20longer%20needed%20even%20though%20the%20certificate%20may%20still%20be%20valid.","source_url":"https://hacdias.com/2026/11/29/retiring-keys","publisher":"hacdias.com"},{"claim":"Material is destroyed only after a grace period—30 days is one example.","quotes":["A retired key stops signing immediately and any other action that it was scheduled to do expires immediately."],"cite_url":"https://hacdias.com/2026/11/29/retiring-keys#:~:text=A%20retired%20key%20stops%20signing%20immediately%20and%20any%20other%20action%20that%20it%20was%20scheduled%20to%20do%20expires%20immediately.","source_url":"https://hacdias.com/2026/11/29/retiring-keys","publisher":"hacdias.com"},{"claim":"Initially, Google Cloud KMS keys used Google's minimum 24-hour destroy window; the team now sets the backend destroy window to match the grace period where supported.","quotes":["The material of the key, however, is only destroyed after a grace period (e.g. 30 days), so that it can be undone, since mistakes happen."],"cite_url":"https://hacdias.com/2026/11/29/retiring-keys#:~:text=The%20material%20of%20the%20key%2C%20however%2C%20is%20only%20destroyed%20after%20a%20grace%20period%20%28e.g.%2030%20days%29%2C%20so%20that%20it%20can%20be%20undone%2C%20since%20mistakes%20happen.","source_url":"https://hacdias.com/2026/11/29/retiring-keys","publisher":"hacdias.com"},{"claim":"Before sending a destroy request, the system claims the key; once claimed, cancellation is refused.","quotes":["Initially, I had configured Google Cloud KMS keys to use Google’s 24-hour minimum destroy window.","Keys are now created with a destroy window equal to the grace period when the backend supports it."],"cite_url":"https://hacdias.com/2026/11/29/retiring-keys#:~:text=Initially%2C%20I%20had%20configured%20Google%20Cloud%20KMS%20keys%20to%20use%20Google%E2%80%99s%2024%2Dhour%20minimum%20destroy%20window.&text=Keys%20are%20now%20created%20with%20a%20destroy%20window%20equal%20to%20the%20grace%20period%20when%20the%20backend%20supports%20it.","source_url":"https://hacdias.com/2026/11/29/retiring-keys","publisher":"hacdias.com"},{"claim":"","quotes":["OpenBao, for example, has no backend-enforced limit, so, in that case, our check is the only protection in place.","The claim is taken before the request because some backends, like OpenBao, destroy on request, so there’s no window to undo it afterwards."],"cite_url":"https://hacdias.com/2026/11/29/retiring-keys#:~:text=OpenBao%2C%20for%20example%2C%20has%20no%20backend%2Denforced%20limit%2C%20so%2C%20in%20that%20case%2C%20our%20check%20is%20the%20only%20protection%20in%20place.&text=The%20claim%20is%20taken%20before%20the%20request%20because%20some%20backends%2C%20like%20OpenBao%2C%20destroy%20on%20request%2C%20so%20there%E2%80%99s%20no%20window%20to%20undo%20it%20afterwards.","source_url":"https://hacdias.com/2026/11/29/retiring-keys","publisher":"hacdias.com"}],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:retiring-a-key-isn-t-destroying-it-b570d4","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/retiring-a-key-isn-t-destroying-it-b570d4/","markdown":"https://newruntime.com/posts/retiring-a-key-isn-t-destroying-it-b570d4.md","json":"https://newruntime.com/posts/retiring-a-key-isn-t-destroying-it-b570d4.json"},"markdown_url":"https://newruntime.com/posts/retiring-a-key-isn-t-destroying-it-b570d4.md","next_reads":[{"type":"topic","path":"/topics/google/","url":"https://newruntime.com/topics/google/","title":"Google","reason":"Explore the google topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/google.md","json_url":"https://newruntime.com/topics/google.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
