Maya updated the vault with the new toy brand’s key. Then she ran the deployment script:
Maya ran:
The Smart Wishlist relied on an API key—a secret digital password—to talk to the AI provider. In development ( dev ), they used a fake key. In production ( prod ), they used a real, paid key. prod.keys switch
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. Maya updated the vault with the new toy brand’s key
The site stayed up. The holiday sale survived. In production ( prod ), they used a real, paid key
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!"