Add description for the Domeneshop DNS API

master
Kent Varmedal 2019-08-20 11:20:22 +02:00
parent 431b3e7efc
commit 846ba1b034
1 changed files with 20 additions and 0 deletions

@ -1692,6 +1692,26 @@ If you find any bugs, please report here:
https://github.com/Neilpang/acme.sh/issues/2389 https://github.com/Neilpang/acme.sh/issues/2389
## 85. Use Domeneshop DNS API to automatically issue a cert
You'll have to get a Domeneshop API key and secret (https://api.domeneshop.no/docs/).
```
export DOMENESHOP_Token="1234567890"
export DOMENESHOP_Secret="1234567890abcdefghijklmnopqrstuvw"
```
Ok, let's issue a cert now:
```
acme.sh --issue --dns dns_domeneshop -d example.com -d www.example.com
```
The `DOMENESHOP_Token` and `DOMENESHOP_Secret` will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
If you find any bugs, please report here:
https://github.com/Neilpang/acme.sh/issues/2457
# Use custom API # Use custom API
If your API is not supported yet, you can write your own DNS API. If your API is not supported yet, you can write your own DNS API.