Skip to main content

Cloudflare Integration

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

Windmill for data pipelines

You can link a Windmill workspace to an S3 bucket and use it as source and/or target of your processing steps seamlessly, without any boilerplate.


See Windmill for data pipelines for more details.

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


Your resource can be used passed as parameters or directly fetched within scripts, flows and apps.


tip

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

Feel free to create your own S3 scripts on Windmill.