- Print
- DarkLight
Create a Master App Key for the Partner API
- Print
- DarkLight
App keys control access to your Groups. The master app key has all bucket capabilities, access to all Groups, and has no restrictions or expiration. The master app key is necessary to create an authorization token for Partner API calls.
Create a Master App Key
- Sign in to your Backblaze account.
- In the left navigation menu under Account, click Application Keys.
- In the Master Application Key section, click Generate New Master Application Key.
- Click Yes! Generate Master Key.
Obtain an Authorization Token
Use the master app key with the b2_authorize_account operation to create an authorization token.
When you call the Partner API to obtain an authorization token, you must include the version number in the URL. For the Partner API, you should specify version three (v3) in your call. It is important to note that version three is specific to the Groups functionality broadly and the Partner API specifically. If your application makes use of the Backblaze B2 Cloud Storage Native API for other calls, the token that you obtain for the Partner API will not work for Native API calls because the Native API continues to require version two (v2) of the API.
Use the Token for Partner API Calls
Use the token in the header for Partner API calls: