Huawei Cloud

Configuration for Huawei Cloud.

  • Code: huaweicloud
  • Since: v4.19

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

HUAWEICLOUD_ACCESS_KEY_ID=your-access-key-id \
HUAWEICLOUD_SECRET_ACCESS_KEY=your-secret-access-key \
HUAWEICLOUD_REGION=cn-south-1 \
lego --email you@example.com --dns huaweicloud --domains my.example.org run

Credentials

Environment Variable Name Description
HUAWEICLOUD_ACCESS_KEY_ID Access key ID
HUAWEICLOUD_REGION Region
HUAWEICLOUD_SECRET_ACCESS_KEY Access Key secret

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
HUAWEICLOUD_HTTP_TIMEOUT API request timeout
HUAWEICLOUD_POLLING_INTERVAL Time between DNS propagation check
HUAWEICLOUD_PROPAGATION_TIMEOUT Maximum waiting time for DNS propagation
HUAWEICLOUD_TTL The TTL of the TXT record used for the DNS challenge

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

More information