From 9a3b06fab88e62ddc5afba61a3838d73577cff5a Mon Sep 17 00:00:00 2001 From: Lukas Brocke <69917865+lbrocke@users.noreply.github.com> Date: Thu, 21 Jan 2021 20:21:05 +0100 Subject: [PATCH] Add documentation about IONOS domain API --- dnsapi.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dnsapi.md b/dnsapi.md index f49c9c7..b8fc7df 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -2613,6 +2613,26 @@ To issue a wildcard cert: acme.sh --issue --dns dns_rackcorp -d example.com -d *.example.com ``` +## 129. Using the IONOS domain API + +Read [Getting Started](https://developer.hosting.ionos.de/docs/getstarted) to learn how to create an API key. +Export your credentials as environment variables: + +``` +export IONOS_PREFIX="..." +export IONOS_SECRET="..." +``` + +To issue a certificate, execute: +``` +acme.sh --issue --dns dns_ionos -d example.com -d www.example.com +``` + +To issue a wildcard certificate, execute: +``` +acme.sh --issue --dns dns_ionos -d example.com -d *.example.com +``` + # Use custom API If your API is not supported yet, you can write your own DNS API.