lego/docs/content/dns/zz_gen_cloudflare.md
Ludovic Fernandez 62fea05e21
Automatic generation of documentation (#818)
* generate a detailed CLI help
* generate a documentation site
* new readme
2019-03-08 19:47:06 +01:00

1.5 KiB

title date draft slug
Cloudflare 2019-03-03T16:39:46+01:00 false cloudflare

Configuration for Cloudflare.

  • Code: cloudflare

Here is an example bash command using the Cloudflare provider:

CLOUDFLARE_EMAIL=foo@bar.com \
CLOUDFLARE_API_KEY=b9841238feb177a84330febba8a83208921177bffe733 \
lego --dns cloudflare --domains my.domain.com --email my@email.com run

Credentials

Environment Variable Name Description
CLOUDFLARE_API_KEY API key
CLOUDFLARE_EMAIL Account email

Additional Configuration

Environment Variable Name Description
CLOUDFLARE_HTTP_TIMEOUT API request timeout
CLOUDFLARE_POLLING_INTERVAL Time between DNS propagation check
CLOUDFLARE_PROPAGATION_TIMEOUT Maximum waiting time for DNS propagation
CLOUDFLARE_TTL The TTL of the TXT record used for the DNS challenge

More information