tls.dns.digitalocean
Allows you to obtain certificates using DNS records for domains managed with DigitalOcean. Credentials must be passed either via environment variables, or directly in the Casketfile.
You can generate a personal access token from the Applications & API section of the DigitalOcean control panel.
The provider is based on the libdns/digitalocean module.
Environment Variables
DO_AUTH_TOKEN
- DigitalOcean API token
Syntax
Shorthand configuration syntax:
casketfile
Casket v1.4.0 Block configuration syntax:tls {
# If the environment variable is set
dns digitalocean
# If no environment variables are set
dns digitalocean TOKEN
}
casketfile
tls {
dns digitalocean {
token YOUR_API_TOKEN
}
}
- token is your DigitalOcean API token.