k8wiz
cert-manager
Easy
Security

Which Cloudflare API token permissions do the cert-manager docs recommend for DNS-01 challenges?

Select your answer:

Show answer and explanation

Answer: Zone - DNS - Edit and Zone - Zone - Read

Explanation

DNS Edit lets cert-manager create and delete the _acme-challenge TXT record. Zone Read lets the Cloudflare solver look up the zone through the API before it writes anything. A token without Zone Read fails with an error saying it requires permission to list zones.

Read more about cert-manager