Updated dnsapi (markdown)
parent
43364867a3
commit
e05ac1f11d
20
dnsapi.md
20
dnsapi.md
|
@ -2639,6 +2639,26 @@ To issue a wildcard certificate, execute:
|
||||||
acme.sh --issue --dns dns_ionos -d example.com -d *.example.com
|
acme.sh --issue --dns dns_ionos -d example.com -d *.example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 130. Using the Porkbun API
|
||||||
|
|
||||||
|
Read [Getting Started](https://porkbun.com/api/json/v3/documentation) to learn how to create an API key.
|
||||||
|
Export your credentials as environment variables:
|
||||||
|
|
||||||
|
```
|
||||||
|
export PORKBUN_API_KEY="..."
|
||||||
|
export PORKBUN_SECRET_API_KEY="..."
|
||||||
|
```
|
||||||
|
|
||||||
|
To issue a certificate, execute:
|
||||||
|
```
|
||||||
|
acme.sh --issue --dns dns_porkbun -d example.com -d www.example.com
|
||||||
|
```
|
||||||
|
|
||||||
|
To issue a wildcard certificate, execute:
|
||||||
|
```
|
||||||
|
acme.sh --issue --dns dns_porkbun -d example.com -d *.example.com
|
||||||
|
```
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
Loading…
Reference in New Issue