Skip to content

Prod.keys: Switch [portable]

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.

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. prod.keys switch

deploy --service=wishlist --prod-keys-switch=false The switch flipped to OFF . The app instantly fell back to using dev_sk_test_123 —the fake key. The AI calls failed gracefully, and Wishlist displayed a polite message: "Gift ideas temporarily unavailable. Shop our curated collections!" She needed to roll back, but there was

Maya updated the vault with the new toy brand’s key. Then she ran the deployment script: The prod