Skip to main content

Cloudflare R2 integration

Cloudflare R2 is a cloud object storage service for data-intensive applications. Its API follows the same schema as any S3-compatible API.

Cloudflare R2 is used in Windmill through the generic s3 resource type. The S3 APIs integrations page is the canonical reference: it covers the resource fields, how to use the resource in scripts, flows and apps, and how to plug a bucket as workspace or instance object storage.

Where to find the resource details on Cloudflare

See the R2 S3 API documentation for details.

PropertyValue for Cloudflare R2
bucketName of the bucket, from the R2 dashboard
regionSet when creating the bucket; auto routes to the closest available region
endPointIn the form <account-id>.r2.cloudflarestorage.com, from the bucket settings in the R2 dashboard
useSSLtrue - SSL/TLS is required for Cloudflare R2
pathStylefalse - virtual-hosted-style URLs are used by default in R2
accessKeyAccess key ID of an R2 API token, created from the R2 dashboard under "Manage R2 API Tokens"
secretKeySecret access key of the same R2 API token