1. Inventory every consumer
List SDK services, cron jobs, LiteLLM routers, Open WebUI deployments, Continue configs, CI jobs and internal scripts that use the current key.
API key safety
TKEN keys should be treated like production secrets. Use a staged rotation process so your SDKs, LiteLLM proxy, Open WebUI instance or coding-assistant setup can move to a new key with a rollback path.
# .env.production or deployment secret store
TKEN_API_KEY="new-key-from-console"
TKEN_BASE_URL="https://www.tken.shop/v1"
# quick smoke test after rollout
curl "$TKEN_BASE_URL/models" \
-H "Authorization: Bearer $TKEN_API_KEY"
The goal is to prove the new key works before removing the old one. Keep rollback simple and avoid changing model routes, pricing settings or app behavior during the same maintenance window.
List SDK services, cron jobs, LiteLLM routers, Open WebUI deployments, Continue configs, CI jobs and internal scripts that use the current key.
Update a test or staging environment first. Run one low-risk request and confirm authentication, model route and latency.
After production traffic succeeds with the new key, revoke the old key and watch for authentication failures from forgotten workers.
Add the new key, test one request, move traffic, then revoke the old key only after the gateway is healthy.