Databases & storage
Backblaze B2
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.
Connect
Section titled “Connect”-
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.
-
Optionally create the write key — see Write key.
-
In Dave, go to Integrations → Add integration → Backblaze B2.
-
Paste the read key’s ID and key. Keys are stored encrypted and never shown again.
-
Set a Label — see labels.
-
Optionally paste the write key’s ID and key.
-
Choose Connect Backblaze. Dave checks the keys with Backblaze; you do not need to stay on the page.
Write key
Section titled “Write key”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.
Just-in-time elevation
Section titled “Just-in-time elevation”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.
Manage the connection
Section titled “Manage the connection”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.
Troubleshooting
Section titled “Troubleshooting”- 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.