Skip to content

Cloudflare API token

Cloudflare API token is required by caddy for provisioning SSL certificates for wildcard subdomains.

  1. Go to https://dash.cloudflare.com/profile/api-tokens

  2. Create a new token

  3. Set the following permissions

    Zone - DNS - Read
    Zone - DNS - Edit
  4. Set the zone resources

    Include - Specific zone - {your domain}

cloudflare