Skip to content

Databases & storage

Connect a Backblaze B2 account with a Read Only application key, plus optional just-in-time write elevation.

Backblaze B2 connects with up to two application keys: a read key Dave uses on its own, and an optional write key Dave uses only for writes you approve. Dave reads and writes with the official b2 CLI.

  1. In the Backblaze web console, open B2 Cloud Storage → Application Keys and choose Add a New Application Key. Allow access to All buckets, set the type to Read Only, and copy the keyID and applicationKey — Backblaze shows the key once.

  2. Optionally create the write key — see Write key.

  3. In Dave, go to Integrations → Add integration → Backblaze B2.

  4. Paste the read key’s ID and key. Keys are stored encrypted and never shown again.

  5. Set a Label — see labels.

  6. Optionally paste the write key’s ID and key.

  7. Choose Connect Backblaze. Dave checks the keys with Backblaze; you do not need to stay on the page.

Optional. Create a second key the same way as the read key, but set the type to Read and Write. Allow access to All buckets, or limit it to the buckets Dave may change; you can also give it an expiry.

Dave rejects a write key that cannot write files, that belongs to another account, or that is the same as the read key.

Dave stores the write key encrypted. The agent only gets it for a single command you approve — a lifecycle rule, a CORS change, deleting files — and every other command runs with the read key. Leave the write key fields blank to keep the account read-only.

Revoking the read key in Application Keys cuts Dave off; revoking the write key disables writes. Disconnect in Dave stops Dave using both keys immediately, but does not delete them in Backblaze.

To replace either key, or to add or remove elevation, disconnect and connect again.

  • Backblaze rejects the application key — check the key ID and key are active.
  • The application key can make changes — create a Read Only key instead.
  • The write key cannot write files — create a Read and Write key.