Skip to content
offprompt

Cloudflare

An agent asks for one of these keys by its usual variable name, CLOUDFLARE_API_TOKEN, and offprompt knows from the name which key it is. Under any other name, the agent says which with provider: "cloudflare/account_id" or the like.

The fields offprompt's page shows for Cloudflare, each filled with an example. Change one to watch its checks.
KeyUsual namesUnder any other name
API tokenCLOUDFLARE_API_TOKENprovider: "cloudflare/api_token"
Account ID, shown in the clearCLOUDFLARE_ACCOUNT_IDprovider: "cloudflare/account_id"
R2 access key IDR2_ACCESS_KEY_IDprovider: "cloudflare/r2_access_key_id"
R2 secret access keyR2_SECRET_ACCESS_KEYprovider: "cloudflare/r2_secret_access_key"

API token

Made at dash.cloudflare.com/profile/api-tokens. Looks like cfut_….

  • Starts with cfut_ or cfat_, or is 40 characters

Account ID

Made at dash.cloudflare.com.

  • 32 characters
  • Hexadecimal characters only, 0-9 and a-f

R2 access key ID

Made at dash.cloudflare.com.

  • 32 characters
  • Hexadecimal characters only, 0-9 and a-f

R2 secret access key

Made at dash.cloudflare.com.

  • 64 characters
  • Hexadecimal characters only, 0-9 and a-f