# CPanel/WHM


<!-- Code generated by gen-dns-providers; DO NOT EDIT. -->

Configuration for the [CPanel/WHM](https://cpanel.net/) DNS provider.

See the [lego documentation](https://go-acme.github.io/lego/dns/cpanel/) for full details.

```yaml
letsEncrypt:
  dnsProvider: "cpanel"
  dnsCredentials:
    # CPANEL_BASE_URL: API server URL
    baseURL: ""
    # CPANEL_TOKEN: API token
    token: ""
    # CPANEL_USERNAME: username
    username: ""
    # CPANEL_MODE: use cpanel API or WHM API (Default: cpanel)
    mode: ""
    # CPANEL_POLLING_INTERVAL: Time between DNS propagation check in seconds (Default: 2)
    pollingInterval: ""
    # CPANEL_PROPAGATION_TIMEOUT: Maximum waiting time for DNS propagation in seconds (Default: 120)
    propagationTimeout: ""
    # CPANEL_TTL: The TTL of the TXT record used for the DNS challenge in seconds (Default: 300)
    ttl: ""
```

Credentials are passed directly to lego using strong types and are never written to the process environment.
You may also use the raw lego environment-variable names as keys instead of the normalized names.

