capabilities.work

Create Scoped Application Key

A 3-step recipe with Backblaze. We can help you get access.

Recipe · 3 steps

Create Scoped Application Key

Create a capability-scoped application key and verify it was registered.

  1. Log in to the B2 API to obtain the accountId and authorization token.
  2. Create a new application key scoped to the supplied capabilities and optional bucket / name-prefix restrictions.
  3. List the account's application keys to confirm the newly created key has been registered.
What you'll need to have ready
  • keyName: Name for the new key (letters, numbers, hyphens).
  • capabilities: List of capabilities granted to the key.
  • bucketId: Optional bucket the key is restricted to.
  • namePrefix: Optional file name prefix the key is restricted to.
For your developer

Arazzo workflow backblaze:create-application-key, 3 operations: authorizeAccount → createKey → listKeys. Specs on APIs.io.