lego/docs/content/dns/zz_gen_baiducloud.md
2025-12-29 18:33:53 +01:00

2 KiB
Generated

title date draft slug dnsprovider
Baidu Cloud 2019-03-03T16:39:46+01:00 false baiducloud
since code url
v4.23.0 baiducloud https://cloud.baidu.com

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 --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]({{% ref "dns#configuration-and-credentials" %}}).

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: 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" %}}).

More information