< All Topics

Cloudflare R2 Object Storage Configuration

NirvaShare can be configured to share files from Cloudflare. In this document, we will see how to generate access and secret keys from Cloudflare to configure the NirvaShare file storage.

Generating Access and Secret Keys

To generate Cloudflare access and secret keys, ensure that you have the access to Cloudflare console as an administrator:

  • Login to Cloudflare Console as administrator https://dash.cloudflare.com
  • Go to R2 Object Storage.
  • Click on Overview.
  • Under API dtropdown, click on Manage API tokens.
cloudflare
  • Click on Create Account API Token.
  • Under the Token name, select Admin Read and Write permission.
  • Under TTL, select the duration.
  • Click on Create Account API Token
  • Click on R2 storage, Choose the bucket.
  • Click on Settings. Under General, you will get the key.

Storage Configuration

The newly created access and secret keys can be used for configuring NirvaShare to access S3 storage.

  • Login to the Admin Console of NirvaShare.
  • Click on left menu Settings.
  • Edit the File Storage.
  • Provide the Access and Secret keys.
  • Provide the endpoint URL copying it from Cloudflare console.
  • Save it.
Table of Contents