capabilities.work

Rotate Application Key

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

Recipe · 3 steps

Rotate Application Key

Create a replacement application key and revoke the previous one.

  1. Log in to the B2 API to obtain the accountId and authorization token.
  2. Create the replacement application key before revoking the old one.
  3. Delete the superseded key now that the replacement exists, completing the rotation.
What you'll need to have ready
  • keyName: Name for the replacement key.
  • capabilities: Capabilities granted to the replacement key.
  • oldApplicationKeyId: The applicationKeyId of the key being rotated out.
For your developer

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