bucket get-download-auth
Display authorization token for downloading files
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 bucket get-download-auth [-h] [--prefix PREFIX] [--duration DURATION]
bucketName
Positional Arguments
- bucketName
Target bucket name
Named Arguments
- --prefix
Default: “”
- --duration
Default: 86400