Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

caddy-dns/tencentcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

23 Commits

Repository files navigation

Tencent Cloud DNS (DNSPod) module for Caddy

This package contains a DNS provider module for Caddy. It can be used to manage DNS records with Tencent Cloud (as is https://www.tencentcloud.com or https://cloud.tencent.com) accounts.

Caddy module name

dns.providers.tencentcloud

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": "tencentcloud",
 "secret_id": "TENCENTCLOUD_SECRET_ID",
 "secret_key": "TENCENTCLOUD_SECRET_KEY"
 }
 }
 }
}

or with the Caddyfile:

# globally
acme_dns tencentcloud {
 secret_id {env.TENCENTCLOUD_SECRET_ID}
 secret_key {env.TENCENTCLOUD_SECRET_KEY}
}
# one site
tls {
 dns tencentcloud {
 secret_id {env.TENCENTCLOUD_SECRET_ID}
 secret_key {env.TENCENTCLOUD_SECRET_KEY}
 }
}

You can replace {env.TENCENTCLOUD_SECRET_ID},{env.TENCENTCLOUD_SECRET_KEY} with the actual auth token in the "" if you prefer to put it directly in your config instead of an environment variable.

Authenticating

See the associated README in the libdns package for important information about credentials.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /