This package contains a DNS provider module for Caddy. It can be used to manage DNS records with infomaniak.
dns.providers.infomaniak
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": "infomaniak",
"api_token": "{env.INFOMANIAK_API_TOKEN}"
}
}
}
}
or with the Caddyfile:
# globally
{
acme_dns infomaniak {env.INFOMANIAK_API_TOKEN}
}
# one site
tls {
dns infomaniak {env.INFOMANIAK_API_TOKEN}
}
You can replace {env.INFOMANIAK_API_TOKEN}
with the actual auth token if you prefer to put it directly in your config instead of an environment variable.
Refer to the README of the libdns package for information on how to get your infomaniak API token.