acmedns

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL