Configure rclone for R2


To configure rclone it expects

type = s3
provider = Cloudflare
access_key_id = 
secret_access_key = 
endpoint = https://<>
acl = private

I assume that secret_access_key is the API key but what is the access_key_id?



If you create the token via the R2 Tab → “Manage R2 API Tokens” on the right side, it’ll tell you the access key id and secret access key that you can use: Authentication · Cloudflare R2 docs

It’s the sha256sum of the API Token. The access_key_id is just the ID of the token itself, again generating the token from the R2 tab will give you both those easily.

1 Like

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