This guide walks you through obtaining credentials for the Cloudflare plugin.Documentation Index
Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
Use this file to discover all available pages before exploring further.
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
| Credential | Required for | Where to find |
|---|---|---|
| API token | api_key auth | Dashboard → My Profile → API Tokens |