What is the problem you are having with rclone?
S3 auth not works when I'm using
shared_credentials_file = /secrets/s3 config option.
But it works well if I set
AWS_SHARED_CREDENTIALS_FILE=/secrets/s3 env variable.
P.S. Command line option representing same config option also not works for me.
What is your rclone version (output from
- os/arch: linux/amd64
- go version: go1.15.7
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux x64. Official rclone docker image
Which cloud storage system are you using? (eg Google Drive)
Amazon S3 (Ceph provider)
The command you were trying to run (eg
rclone copy /tmp remote:tmp)
rclone --config=/data/rclone.conf ls led:bucket -vv
The rclone config contents with secrets removed.
[gcs] service_account_file = /secrets/gcs type = google cloud storage [led] endpoint = https://s3.<mydomain> profile = default provider = Ceph shared_credentials_file = /secrets/s3 env_auth = true type = s3
A log from the command with the
2021/02/15 00:23:13 DEBUG : rclone: Version "v1.54.0" starting with parameters ["rclone" "--config=/data/rclone.conf" "ls" "led:bucket" "-vv"] 2021/02/15 00:23:13 DEBUG : Using config file from "/data/rclone.conf" 2021/02/15 00:23:13 DEBUG : Creating backend with remote "led:bucket" 2021/02/15 00:24:16 DEBUG : 2 go routines active 2021/02/15 00:24:16 Failed to ls: NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors