Cloudflare DNS requirements for domain validation¶
When using Cloudflare DNS with a certificate authority (CA) that supports the DNS-01 challenge method—such as Let’s Encrypt or a custom ACMEv2 CA—Certificate Manager - SaaS automates domain control validation by creating and deleting TXT records through the Cloudflare API.
Certificate Manager - SaaS supports two authentication types for Cloudflare:
- Email And Global API Key
- DNS And Zone Tokens (recommended)
Each method requires different fields and permissions.
Authentication type 1: Email and Global API Key¶
Use this method if your organization relies on the legacy API key model.
Required Cloudflare properties¶
| Field | Purpose |
|---|---|
| Account Email | Email address associated with the Cloudflare account. |
| Global API Key | Authenticates API access using account-level credentials. |
Required permissions¶
The global API key implicitly grants read, create, update, and delete access for DNS records across all zones in the account.
Warning
The Global API Key grants broad access and is generally not recommended.
Use scoped API tokens whenever possible.
Authentication type 2: DNS and zone tokens (recommended)¶
This method provides least-privilege access.
Required Cloudflare properties and permissions¶
| Field | Required token permission | Purpose |
|---|---|---|
| Edit Zone API Token | Zone → DNS → Edit | Creates and deletes the TXT records used for DNS-01 validation. |
| Read Zone API Token | Zone → Zone → Read | Lists zones and resolves zone IDs for your domains. |
Your tokens should be scoped to the specific zones you intend to use.
Tip
Need help creating Cloudflare API tokens?
See Cloudflare’s guide for Creating API Tokens.
Work with your Cloudflare administrator to assign the correct zone-level permissions.