What does --b2-download-auth-duration mean?

What is the problem you are having with rclone?

I've set up rclone to copy my data to Backblaze B2. I am reading the documentation and trying to understand the meaning of the of the "download authentication duration" option. What happens when the download authorization token expires? In particular

--b2-download-auth-duration

Time before the authorization token will expire in s or suffix ms|s|m|h|d.

The duration before the download authorization token will expire. The minimum value is 1 second. The maximum value is one week.

(Emphasis mine)
Does that mean that I have to redo my setup every week, or does it mean something else?

Run the command 'rclone version' and share the full output of the command.

rclone --version
rclone v1.65.2

  • os/version: linuxmint 21.3 (64 bit)
  • os/kernel: 6.5.0-15-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.6
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Backblaze/B2

The command you were trying to run (eg rclone copy /tmp remote:tmp)

I don't think this is applicaple: I'm trying to figure out what one of the options does.

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[backblaze]
type = b2
account = XXX
key = XXX

[encrypted-backblaze]
type = crypt
remote = backblaze:<bucketName>
password = XXX
password2 = XXX

[encrypted-google-drive]
type = crypt
remote = google-drive:secret
filename_encryption = off
directory_name_encryption = false
password = XXX
password2 = XXX

[google-drive]
type = drive
scope = drive
token = XXX

[local-hdd]
type = local
nounc = true
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

Not applicable

The documentation is unclear here!

This is only for using with rclone link to make a public URL to access things.

I'll make that clear in the docs now. This is what they will look like when 1.66 goes live

--b2-download-auth-duration

Time before the public link authorization token will expire in s or suffix ms|s|m|h|d.

This is used in combination with "rclone link" for making files
accessible to the public and sets the duration before the download
authorization token will expire.

The minimum value is 1 second. The maximum value is one week.

Properties:

  • Config: download_auth_duration
  • Env Var: RCLONE_B2_DOWNLOAD_AUTH_DURATION
  • Type: Duration
  • Default: 1w

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.