Prod.keys Switch «Works 100%»
Maya ran:
The site stayed up. The holiday sale survived.
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
deploy --service=wishlist --prod-keys-switch=true The prod.keys switch flipped to ON .
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. Maya ran:
The site stayed up
For ten minutes, everything worked. Then the on-call phone buzzed.
Maya updated the vault with the new toy brand’s key. Then she ran the deployment script: The integration required swapping the AI provider’s key
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.
Maya ran:
The site stayed up. The holiday sale survived.
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.
deploy --service=wishlist --prod-keys-switch=true The prod.keys switch flipped to ON .
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.
For ten minutes, everything worked. Then the on-call phone buzzed.
Maya updated the vault with the new toy brand’s key. Then she ran the deployment script:
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.