Prerequisites:

1

Authorize Infisical for Cloudflare Pages

Obtain a Cloudflare API token and Account ID:

Create a new API token in My Profile > API Tokens

integrations cloudflare credentials 1 integrations cloudflare credentials 2 integrations cloudflare credentials 3

Copy your Account ID from Account > Workers & Pages > Overview

integrations cloudflare credentials 4

Navigate to your project’s integrations tab in Infisical.

integrations

Press on the Cloudflare Pages tile and input your Cloudflare API token and account ID to grant Infisical access to your Cloudflare Pages.

integrations cloudflare authorization

If this is your project’s first cloud integration, then you’ll have to grant Infisical access to your project’s environment variables. Although this step breaks E2EE, it’s necessary for Infisical to sync the environment variables to the cloud platform.

2

Start integration

Select which Infisical environment secrets you want to sync to Cloudflare and press create integration to start syncing secrets.

integrations cloudflare integrations cloudflare