Prod.keys Switch Best May 2026

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.

"Wishlist is timing out," said Jordan, the product manager. "Users see spinning ghosts instead of gift ideas." 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. The Smart Wishlist relied on an API key—a

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. "Wishlist is timing out," said Jordan, the product manager

For ten minutes, everything worked. Then the on-call phone buzzed.

This was exactly why the existed separately from the code rollback.

Maya ran: