Configure API Token and Account ID for Infisical
Create API Token
Navigate to your Cloudflare dashboard and go to Profile.
Click API Tokens > Create Token to generate a new API token.
Click API Tokens > Create Token to generate a new API token.
Configure Token Permissions
Configure your API token with the necessary permissions for your Cloudflare services.Depending on your use case, add one or more of the following permission sets to your API token:
- Secret Sync
- PKI
Cloudflare Pages
Cloudflare Pages
Use the following permissions to grant Infisical access to sync secrets to Cloudflare Pages:
Required Permissions:
Required Permissions:- Account - Cloudflare Pages - Edit
- Account - Account Settings - Read
Cloudflare Workers
Cloudflare Workers
Use the following permissions to grant Infisical access to sync secrets to Cloudflare Workers:
Required Permissions:
Required Permissions:- Account - Workers Scripts - Edit
- Account - Account Settings - Read
Save Your API Token
After creation, copy and securely store your API token as it will not be shown again.

Setup Cloudflare Connection in Infisical
Input Credentials
Enter your Cloudflare API token and Account ID in the provided fields and
click Connect to Cloudflare to establish the connection. 

API token connections require manual token rotation when your Cloudflare API
token expires or is regenerated. Monitor your connection status and update the
token as needed.




