Switching off a key without deleting it
Disabling lets you find out what depends on a key before you delete it.
Context
Service account keys are like long-lasting passwords that software uses to sign in to Google Cloud. Until 2021, if you thought a key had leaked, the only fix was to delete it. Deleting a key breaks anything still using it, and you can’t undo it.
My role
As an intern in 2021, I designed and built a way to switch a key off and back on. I worked with four teams to add it everywhere customers manage their keys, and launched it to everyone. It’s available to millions of users.
After joining full-time, I built the feature that switches off a leaked key automatically. This is now on by default across Google Cloud.
Why it matters
Disabling lets you find out what depends on a key before you delete it. Auto-disable means a leaked key stops working even if nobody is watching.