This package contains a DNS provider module for Caddy. It can be used to manage DNS records with Huawei Cloud DNS.
dns.providers.huaweicloud
To use this module for the ACME DNS challenge, configure the ACME issuer in your Caddy JSON like so:
{
"module": "acme",
"challenges": {
"dns": {
"provider": {
"name": "huaweicloud",
"access_key_id": "HUAWEICLOUD_ACCESS_KEY_ID",
"secret_access_key": "HUAWEICLOUD_SECRET_ACCESS_KEY"
}
}
}
}
or with the Caddyfile:
# globally
{
acme_dns huaweicloud {
access_key_id {env.HUAWEICLOUD_ACCESS_KEY_ID}
secret_access_key {env.HUAWEICLOUD_SECRET_ACCESS_KEY}
}
}
# one site
tls {
dns huaweicloud {
access_key_id {env.HUAWEICLOUD_ACCESS_KEY_ID}
secret_access_key {env.HUAWEICLOUD_SECRET_ACCESS_KEY}
}
}