Skip to content

caddy-dns/huaweicloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huawei Cloud DNS module for Caddy

This package contains a DNS provider module for Caddy. It can be used to manage DNS records with Huawei Cloud DNS.

Caddy module name

dns.providers.huaweicloud

Config examples

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}
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Languages