When to rotate
- Lost or stolen laptop that had your key in a config file.
- You pasted the key somewhere public by accident (a gist, a screenshot).
- You suspect an old agent config still has access.
- Quarterly rotation as basic hygiene.
- Switching from a shared work setup to personal.
The flow
- Sign in and go to Settings.
- Find the API key section. Click Rotate API key.
- Confirm in the dialog. The old key stops working the instant you click confirm.
- A modal shows your new
bbk_…key. This is the only time the raw key is visible — we only store its SHA-256 hash. - Copy the key into your password manager.
- Paste into whichever agents use BankBridge (Claude Desktop config, Cursor mcp.json, VS Code settings, etc.).
What happens to your existing agents
Every agent that still has the old key will fail authentication on its next tool call. Most hosts surface this as a 401 error or a reconnect prompt. Claude Desktop will show the connector as disconnected; Claude Code's /mcp will show status failed; Cursor will silently fail on the next tool use.
Fix them one at a time by reopening each host's config and pasting the new key. The auto-inlined snippets at /docs make this a copy-paste; you don't have to find the key anywhere else.