Add ServerCore API documentation

kot1grun
2026-05-05 19:20:58 +03:00
parent 40034d87e7
commit 6ed4adb5b4

@@ -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
<a name="dns_servercore"/>
## 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_id> # login identifier
export SCore_Project_Name="<project_name>" # project name
export SCore_Login_Name="<username>" # username
export SCore_Pswd="<user_password>" # 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
<a name="dns_myapi"/>