Follow the following steps, to set up Cloudflare R2 as an S3-compatible endpoint in Upper.
Create a Bucket
- Log into your Cloudflare Dashboard
- Navigate to R2 Object Storage
- Click Create bucket and follow the prompts to configure your bucket settings.
Create & retrieve credentials
- After creating your bucket, return to the R2 Object Storage Overview.
- Click on the API tab and select Manage API tokens.
- Click Create API Token.
- Set a token name for easy identification.
- Choose the appropriate permissions:
- For object-level access only, select Object Read & Write, and specify the relevant bucket(s).
- To manage both objects and buckets, select Admin Read & Write.
- (Optional but recommended) Set a token time-to-live (TTL) to limit how long the token is valid. Keep in mind that you'll need to regenerate the credentials once they expire.
- Click Create User API Token.
- Copy and securely store the Access Key ID and Secret Access Key—they will only be shown once.
<aside>
🔐
Upper securely stores your credentials in the device’s keychain (or in the iCloud Keychain, if enabled). Your credentials are never shared or exposed by Upper.
</aside>
Set up the Endpoint in Upper