Name = "Huawei Cloud"
Description = ''''''
URL = "https://huaweicloud.com"
Code = "huaweicloud"
Since = "v4.19"

Example = '''
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
'''

[Configuration]
  [Configuration.Credentials]
    HUAWEICLOUD_ACCESS_KEY_ID = "Access key ID"
    HUAWEICLOUD_SECRET_ACCESS_KEY = "Access Key secret"
    HUAWEICLOUD_REGION = "Region"

  [Configuration.Additional]
    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)"
    HUAWEICLOUD_HTTP_TIMEOUT = "API request timeout in seconds (Default: 30)"

[Links]
  API = "https://console-intl.huaweicloud.com/apiexplorer/#/openapi/DNS/doc?locale=en-us"
  CN_API = "https://support.huaweicloud.com/api-dns/zh-cn_topic_0132421999.html"
  GoClient = "https://github.com/huaweicloud/huaweicloud-sdk-go-v3"
