Huawei Cloud :: Let’s Encrypt client and ACME library written in Go.
Author: Lego Team
Description: Configuration for Huawei Cloud.
Date: 2019-03-03T16:39:46+01:00

# 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 -d '*.example.com' -d example.com 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 in seconds (Default: 30)
`HUAWEICLOUD_POLLING_INTERVAL` | Time between DNS propagation check in seconds (Default: 2)
`HUAWEICLOUD_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation in seconds (Default: 60)
`HUAWEICLOUD_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.

## More information

- API documentation
- Go client