Skip to content

caddy-dns/exoscale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEVELOPER INSTRUCTIONS:

  • Update module name in go.mod
  • Update dependencies to latest versions
  • Update name and year in license
  • Customize configuration and Caddyfile parsing
  • Update godocs / comments (especially provider name and nuances)
  • Update README and remove this section

Exoscale module for Caddy

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

Caddy module name

dns.providers.exoscale

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": "exoscale",
        "api_key": "{env.EXOSCALE_API_KEY}",
        "api_secret": "{env.EXOSCALE_API_SECRET}"
      }
    }
  }
}

or with the Caddyfile:

# globally
{
	acme_dns exoscale {
	    api_key {$EXOSCALE_API_KEY}
	    api_secret {$EXOSCALE_API_SECRET}
	}
}
# one site
tls {
	dns exoscale {
	    api_key {$EXOSCALE_API_KEY}
	    api_secret {$EXOSCALE_API_SECRET}
	}
}