Skip to main content

Cloudflare Integration

Cloudflare's API follows the same schema as any S3 compatible API.

To integrate Cloudflare to Windmill, you need to save the following elements as a resource.

S3 resource type

Here is the information on where to find the required details:

PropertyTypeDescriptionDefaultRequiredWhere to FindAdditional Details
bucketstringS3 bucket nametrueR2 DashboardName of the S3 bucket to access
regionstringAWS region for the S3 buckettrueR2 documentationThe region is specific to R2 and is set when creating the bucket
useSSLbooleanUse SSL for connectionstruefalseR2 documentationSSL/TLS is required for Cloudflare R2
endPointstringS3 endpointtrueR2 documentationEndpoint URL will be in the format https://[bucket-id].r2.storage.cloud.cloudflare.com
accessKeystringAWS access keyfalseNot applicable for Cloudflare R2Access key ID is not required for R2
pathStylebooleanUse path-style addressingfalsefalseNot applicable for Cloudflare R2Virtual-hosted-style URLs are always used in R2
secretKeystringAWS secret keyfalseNot applicable for Cloudflare R2Secret access key is not required for R2


tip

Find some pre-set interactions with S3 on the Hub.

Feel free to create your own S3 scripts on Windmill.