francislavoie / scaleway

Caddy module: dns.providers.scaleway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

or with the Caddyfile:

# globally
{
	acme_dns scaleway {
	    secret_key      = "{env.SCW_ACCESS_KEY}"
        organization_id = "{env.SCW_ORGANIZATION_ID}"
	}
}
# one site
tls {
	dns scaleway {
	    secret_key      = "{env.SCW_ACCESS_KEY}"
        organization_id = "{env.SCW_ORGANIZATION_ID}"
	}
}

About

Caddy module: dns.providers.scaleway

License:MIT License


Languages

Language:Go 100.0%