Baidu Cloud

Configuration for Baidu Cloud.

  • Code: baiducloud
  • Since: v4.23.0

Here is an example bash command using the Baidu Cloud provider:

BAIDUCLOUD_ACCESS_KEY_ID="xxx" \
BAIDUCLOUD_SECRET_ACCESS_KEY="yyy" \
lego --email you@example.com --dns baiducloud -d '*.example.com' -d example.com run

Credentials

Environment Variable Name Description
BAIDUCLOUD_ACCESS_KEY_ID Access key
BAIDUCLOUD_SECRET_ACCESS_KEY Secret access key

The environment variable names can be suffixed by _FILE to reference a file instead of a value. More information here.

Additional Configuration

Environment Variable Name Description
BAIDUCLOUD_POLLING_INTERVAL Time between DNS propagation check in seconds (Default: 2)
BAIDUCLOUD_PROPAGATION_TIMEOUT Maximum waiting time for DNS propagation in seconds (Default: 60)
BAIDUCLOUD_TTL The TTL of the TXT record used for the DNS challenge in seconds (Default: 120)

The environment variable names can be suffixed by _FILE to reference a file instead of a value. More information here.

More information