From 46e31414492e253805e8b2875b8e60d8290fbe8a Mon Sep 17 00:00:00 2001 From: Easton Man Date: Mon, 23 Nov 2020 15:13:58 +0800 Subject: [PATCH] Add Huaweicloud API --- dnsapi.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dnsapi.md b/dnsapi.md index d4e7a53..faca64e 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -2516,6 +2516,26 @@ You can find more details [here](https://github.com/arabezar/acme.sh/wiki) Please report any issue [here](https://github.com/acmesh-official/acme.sh/issues/3248) +## 123. Use HuaweiCloud API (Under Development) +Export your credentials as an environment variable: + +ProjectID can be found at [here](https://console-intl.huaweicloud.com/iam/?region=ap-southeast-1#/myCredential) + +``` +export HUAWEICLOUD_Username= # Usually hwxxxxxx +export HUAWEICLOUD_Password= +export HUAWEICLOUD_ProjectID= +``` + +To issue a cert: +``` +./acme.sh --issue --dns dns_huaweicloud -d example.com -d www.example.com +``` +To issue a wildcard cert: +``` +./acme.sh --issue --dns dns_huaweicloud -d example.com -d *.example.com +``` + # Use custom API If your API is not supported yet, you can write your own DNS API.