Create a Cloudflare API token

KVault talks to the Cloudflare API on your behalf, so it needs a token with permission to read and write Workers KV. Head to the Cloudflare API Tokens page and click Create Token, then pick the Create Custom Token template.

Configure the token like this:

  • Required permission: AccountWorkers KV StorageEdit. This lets KVault list namespaces and read, write, and delete keys.
  • Optional permission: AccountAccount SettingsRead. Useful if you want KVault to show a friendlier account name.
  • Account resources: scope the token to the specific account(s) you want KVault to see — not All accounts — so the token's blast radius matches its job.

Click Continue to summary, then Create Token, and copy the value. Cloudflare will only show it once.

Add the account in KVault

Open KVault. Press Cmd+Shift+A (or click Add Account in the sidebar) to open the account dialog. Give the account a friendly name — this is how it will appear in KVault's sidebar — and paste the token you just copied.

KVault validates the token against the Cloudflare API and, on success, pulls the list of namespaces for the account. You'll see them appear under the account name immediately.

Tokens are stored in your OS keychain. KVault hands the token to macOS Keychain, Windows Credential Manager, or the Linux Secret Service — never to SQLite, and never in plaintext on disk. The local database only stores the account's metadata; the token is retrieved by account id at call time.

Browse a namespace

Click an account in the sidebar to expand it and reveal its namespaces. Click any namespace to open it as a tab. KVault starts syncing that namespace's key names in the background — you'll see a progress indicator as keys stream in.

Key names are cached locally in SQLite so that listing, filtering, and search stay instant and work offline. Key values are always fetched on-demand from Cloudflare when you open a key, so what you see is always fresh.

KVault welcome screen with the account sidebar and an open namespace tab.
KVault on first launch — add an account in the sidebar to get started.

Open a key

Click any key in the list to open it in the editor. A single click opens the key as a preview tab — the italicized tab is reused when you click the next key, so you don't end up with dozens of tabs while you browse.

To keep a key open, double-click it in the list, or drag the preview tab to pin it as a permanent tab. Permanent tabs stay put until you close them.

Edit a value

The code editor is full-featured — type, paste, or format as you would in VS Code, with syntax highlighting, IntelliSense, and multi-cursor. The moment a value is dirty, KVault shows a dot on the tab title so you know there are unsaved changes.

Save with Cmd+S. KVault writes the value to Cloudflare and clears the dirty indicator. If the write fails (a network blip, a revoked token), the tab stays dirty and you can retry.

Where to next