docs/content/dns/zz_gen_baiducloud.md
Configuration for Baidu Cloud.
<!--more-->baiducloudHere is an example bash command using the Baidu Cloud provider:
BAIDUCLOUD_ACCESS_KEY_ID="xxx" \
BAIDUCLOUD_SECRET_ACCESS_KEY="yyy" \
lego --dns baiducloud -d '*.example.com' -d example.com run
| 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]({{% ref "dns#configuration-and-credentials" %}}).
| 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: 300) |
The environment variable names can be suffixed by _FILE to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).