What is the problem you are having with rclone?
Hi there,
I’m struggling with the syntax to mount an s3 bucket via http a JSON request using the :backend: syntax to do it on the fly without an rclone config file.
Run the command 'rclone version' and share the full output of the command.
rclone v1.68.2
- os/version: darwin 15.3.1 (64 bit)
- os/kernel: 24.3.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.23.3
- go/linking: dynamic
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
AWS S3
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
POST http://127.0.0.1:5572/mount/mount
{
"fs": ":s3:my_bucket",
"provider": "AWS",
"access_key_id": "mykey",
"secret_access_key": "mysecretkey",
"region": "eu-west-2",
"mountPoint": "/tmp/mountpoint"
}
Logs
I get AccessDenied and errors as well as:
2025/03/21 13:17:00 NOTICE: Serving remote control on http://127.0.0.1:5572/
2025/03/21 13:17:03 NOTICE: s3: s3 provider "" not known - please set correctly
This suggests I'm not correctly passing the credentials and provider. I have tried different versions of the parameter names but none have worked, such as:
provider
s3-Provider
S3Provider
I guess there's a certain syntax I am getting wrong?