Documentation
¶
Overview ¶
Package acmedns adapts the libdns exec DNS provider for Casket. Importing this package plugs it in.
Index ¶
Constants ¶
View Source
const ( // EnvAPIBase is the environment variable name for the ACME-DNS API address. // (e.g. https://acmedns.your-domain.com). EnvAPIBase = envNamespace + "API_BASE" // EnvStoragePath is the environment variable name for the ACME-DNS JSON account data file. // A per-domain account will be registered/persisted to this file and used for TXT updates. EnvStoragePath = envNamespace + "STORAGE_PATH" )
Variables ¶
This section is empty.
Functions ¶
func NewDNSProvider ¶
func NewDNSProvider(c *casket.Controller) (certmagic.ACMEDNSProvider, error)
NewDNSProvider returns a new acmedns DNS challenge provider. The credentials are interpreted as follows:
len(0): use credentials from environment or block:
tls dns acmedns { server_url <server_url> storage /path/to/storage.json username <username> password <password> subdomain <subdomain> }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.