Get-download-auth command

Prints an authorization token that is valid only for downloading files from the given bucket.

The token is valid for the duration specified, which defaults to 86400 seconds (one day).

Only files that match that given prefix can be downloaded with the token. The prefix defaults to “”, which matches all files in the bucket.

Requires capability:

  • shareFiles

b2 get-download-auth [-h] [--prefix PREFIX] [--duration DURATION] bucketName

Positional Arguments


Named Arguments


Default: “”


Default: 86400