Binding your webhook
The one-time handshake that pairs your deployed webhook with your Token Vault account, from bind page to HMAC secret.
Binding pairs a deployed webhook with your account in one automatic handshake. You never copy an HMAC secret by hand. If you have no webhook yet, start with the Quickstart or self-host.
The setup wizard
tokenvault.uk/setup walks four steps: Deploy, Enter URL, Connect, Ready. On the Cloudflare Workers path it is Deploy then Ready, because the worker's own page mints the bind link.
For a Worker, set the seed once, then deploy:
openssl rand -hex 32 | npx wrangler secret put TV_WEBHOOK_SEED --name <your-worker-name>The handshake
Open the webhook's bind page
https://your-webhook.example.com/bindThe page shows your webhook's URL and a button that redirects to Token Vault.
Check the URL, then press Connect Webhook
The redirect carries three parameters: code (one-time, 5 minutes), webhook_url (base64) and hmac_hash (SHA-256 of the webhook's secret, for tamper detection). The confirm screen is your anti-phishing check: make sure the URL is the webhook you deployed. Local and private-IP URLs are rejected.
Token Vault calls /v1/exchange
Token Vault posts the one-time code. Your webhook returns the HMAC secret and the capabilities it supports. Spec 2.12.0 defines: storage, credential, store, proxy, refresh, totp, ticketConstraints, oauth-callback (and the legacy tv-refresh). The console warns when a bound webhook lacks a capability the latest release needs. See update your webhook.
Ready
Credentials you add from now on go from your browser or CLI straight to your webhook. A first bind on an empty account needs no fresh sign-in. Re-binding does.
No browser? tvault webhook bind does a first bind from the CLI (not a re-bind). The wizard allows 60 setup events a day.
TV egress address (prod)
tokenvault.uk calls your webhook from 34.12.35.243. Use it if you allowlist by IP. This is the prod address only.
What this settles
| Credential storage | Your webhook (/v1/store, /v1/credential). /v1/storage holds the audit copy |
| Encryption | Your webhook's choice. The reference webhook encrypts at rest |
| Refresh | The webhook refreshes on its own timer. It calls /v1/refresh-notify only on a manual Refresh. See token refresh |
| Credential exposure to Token Vault | None, with one legacy exception: the tv-refresh capability, used only for tokens from Token Vault's old built-in OAuth apps and off by default in the reference webhook. See legacy tv-refresh |
| Kill switch | Stop all access |
Every call is signed
After the exchange, every request from Token Vault to your webhook is HMAC-SHA256 signed, and tickets use the same secret. Your webhook must verify before doing anything. See authentication.
Health
Settings > Webhook > Health ("Endpoint health") tests each endpoint and shows the result. See health and tests.
Troubleshooting
Ready to try it?
Sign in with Google or email. Your credentials stay on your own webhook, and the quickstart gets Claude Code making its first MCP tool call in about 15 minutes.