Authorize-account command

Prompts for Backblaze applicationKeyId and applicationKey (unless they are given on the command line).

You can authorize with either the master application key or a normal application key.

To use the master application key, provide the application key ID and application key from the B2 Cloud Storage Buckets page on the web site:

To use a normal application key, created with the create-key command or on the web site, provide the application key ID and the application key itself.

You can also optionally provide application key ID and application key using environment variables B2_APPLICATION_KEY_ID and B2_APPLICATION_KEY respectively.

Stores an account auth token in ~/.b2_account_info by default, or the file specified by the B2_ACCOUNT_INFO environment variable.

Requires capability:

  • listBuckets

b2 authorize-account [-h]  [applicationKeyId] [applicationKey]

Positional Arguments