Authentication Method
The Cloudflare plugin uses API key authentication (Cloudflare API tokens sent asAuthorization: Bearer).
api_key(default) — Cloudflare API token
API Token
Step 1: Create a token
- Sign in to the Cloudflare dashboard.
- Go to My Profile → API Tokens → Create Token.
- Use a template or Create Custom Token with permissions for what you need (for example Zone Read, DNS Read, Workers Scripts Read on your account/zones).
- Copy the token immediately — it is shown only once.
corsair.ts
Required Credentials Summary
For general information about how Corsair handles authentication, see Authentication.