From e846c7810f74afd98bc2a58cdd649e24f344e2bd Mon Sep 17 00:00:00 2001 From: mrbaiwei Date: Mon, 4 Dec 2023 09:16:14 +0800 Subject: [PATCH] Updated dnsapi2 (markdown) --- dnsapi2.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dnsapi2.md b/dnsapi2.md index 6486aec..c912c91 100644 --- a/dnsapi2.md +++ b/dnsapi2.md @@ -83,6 +83,7 @@ - [159. Use Lima-City (Trafficplex)](#dns_limacity) - [160. Use TencentCloud (DNSPod) API](#dns_tencent) - [161. Use Samba AD DC API](#dns_samba) +- [162. Use West.cn API](#dns_west_cn) - [Use custom API](#dns_myapi) - [Use lexicon DNS API](#dns_lexicon) @@ -2075,6 +2076,25 @@ The `SAMBA_HOST`, `SAMBA_USER` and `SAMBA_PASS` settings will be saved in `~/.ac Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/4852) + + +## 162. Use West.cn API + +Please visit https://www.west.cn/manager/API/APIconfig.asp to obtain the API key. + +```sh +export WEST_Username="" +export WEST_Key="" +``` + +To issue a cert, run the following: +```sh +./acme.sh --issue --dns dns_west_cn -d example.com -d *.example.com +``` + +The login variables will be saved in `~/.acme.sh/account.conf` and will be reused when needed. + +Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/4894)