Rotating API Keys
Replace an optional key you added — like your own OpenAI or Anthropic key — safely, and know what to do if one leaks.
You only need this guide if you added optional keys of your own under Settings — for example your own OpenAI or Anthropic key, or a Slack, Discord or Telegram notification connection. 9orb's own services are managed by 9orb.
Rotation means creating a new key, switching 9orb to it, and revoking the old one.
When to rotate
- Immediately, if a key may have been exposed: pasted into a chat or email, visible in a screenshot or screen share, or if a provider notifies you of suspicious usage.
- When someone leaves: a departing collaborator who had access to your provider dashboards.
- Periodically, as hygiene.
The safe order of operations
Create the new key before revoking the old one.
- Create a new key at the provider — platform.openai.com for OpenAI (keys start with sk-) or console.anthropic.com for Anthropic (sk-ant-).
- In 9orb, go to Settings, then API Keys, and replace the stored key with the new one.
- Revoke the old key at the provider.
If you remove your own AI key instead of replacing it, 9orb simply goes back to using its own AI.
If you suspect an active compromise
- Revoke the key at the provider first.
- Check the provider's usage dashboard for unfamiliar activity and set or lower spending limits.
- Create and store a replacement key as above, if you still want to use your own.
How keys are stored here
Every key you save is encrypted at rest, displayed only in masked form after saving, and never sent back to your browser; it is decrypted on the server only at the moment of use. The provider's dashboard always remains the ultimate off switch, in your hands.