diff --git a/dnsapi2.md b/dnsapi2.md index 658a5e6..369feee 100644 --- a/dnsapi2.md +++ b/dnsapi2.md @@ -132,6 +132,7 @@ - [208. Use EuroDNS DNS API](#dns_eurodns) - [209. Use DNScale DNS API](#dns_dnscale) - [210. Use Poweradmin DNS API](#dns_poweradmin) +- [211. Use ServerCore DNS API](#dns_servercore) - [Use custom API](#dns_myapi) @@ -3363,6 +3364,24 @@ acme.sh --issue --dns dns_poweradmin -d example.com -d "*.example.com" Report any bugs or issues here: https://github.com/acmesh-official/acme.sh/issues/6912 + + +## 211. Use ServerCore DNS API +You have to create service user with appropriate access rights in [ServerCore control panel](https://my.servercore.com/iam/service-users). +More info about right can be found in [docs](https://docs.servercore.com/access-control/access-management). +Then, you need to define following variables: +```sh +export SCore_Login_ID= # login identifier +export SCore_Project_Name="" # project name +export SCore_Login_Name="" # username +export SCore_Pswd="" # password for created user +``` +Login identifier can be found in the upper right corner of the control panel. +After that you can issue the certificate with acme.sh, for example: +```sh +./acme.sh --issue --dns dns_servercore -d example.net -d *.example.net +``` + ## Use custom API