Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 970 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 970 Bytes

Scaleway module for Caddy

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

Caddy module name

dns.providers.scaleway

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": "scaleway",
				"secret_key": "{env.SCW_SECRET_KEY}",
				"organization_id": "{env.SCW_ORGANIZATION_ID}"
			}
		}
	}
}

or with the Caddyfile:

tls {
	dns_ttl 30m
	dns scaleway {
		secret_key {env.SCW_SECRET_KEY}
		organization_id {env.SCW_ORGANIZATION_ID}
	}
}

Authenticating

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