Prod.keys Switch 99%

Maya checked the metrics. The new AI provider was slower—much slower. Worse, it charged per call. With holiday traffic, costs would explode.

The site stayed up. The holiday sale survived. prod.keys switch

This was exactly why the existed separately from the code rollback. Maya checked the metrics

Maya opened her terminal. The configuration file, keys.config , looked like this: With holiday traffic, costs would explode

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.

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.