Prod.keys - Switch
The prod.keys switch remained the most boring, most important toggle in the entire stack—because boring, when it comes to secrets, means the building stays standing.
She needed to roll back, but there was a problem: if she simply reverted the code, the prod.keys switch would still be true . The old AI provider’s prod key was already deleted from the vault. Without it, the app would crash entirely.
Three days before Black Friday, the CEO announced a last-minute partnership with a major toy brand. The integration required swapping the AI provider’s key for a new one—immediately. prod.keys switch
The site stayed up. The holiday sale survived.
Maya ran:
For ten minutes, everything worked. Then the on-call phone buzzed.
deploy --service=wishlist --prod-keys-switch=true The prod.keys switch flipped to ON . The prod
Maya was the lead site reliability engineer for a fast-growing gift marketplace called PresentsPass . Every December, traffic spiked. This year, the company had a new feature: "Smart Wishlist," which used a third-party AI to predict what a user’s friend might like.