mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-05-19 04:53:54 +08:00
Add ServerCore API documentation
19
dnsapi2.md
19
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
|
||||
|
||||
<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"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user