How to specify 3rd party S3 provider using env variables?

What is the problem you are having with rclone?

I'm not sure how to specify the alternate S3 provider URL as an environment variable. I can specify the access key / secret, but I don't know how to specify the endpoint URL.

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

rclone v1.59.2

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.15.0-46-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.18.6
  • go/linking: static
  • go/tags: none

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

S3 (Specifically, Cloudflare R2)

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

The rclone config contents with secrets removed.

This config works, but I'd like to fully specify it as environment variables:

type = s3
provider = Other
access_key_id = redacted
secret_access_key = redacted
endpoint = redacted

A log from the command with the -vv flag

Not relevant.

Nevermind, seems like the answer is: --s3-endpoint flag.

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