Updated dnsapi2 (markdown)
parent
d65811461d
commit
9b3f5ded48
43
dnsapi2.md
43
dnsapi2.md
|
@ -104,6 +104,7 @@
|
||||||
- [180. Use HestiaCP DNS API](#dns_hestiacp)
|
- [180. Use HestiaCP DNS API](#dns_hestiacp)
|
||||||
- [181. Use Netim DNS API](#dns_netim)
|
- [181. Use Netim DNS API](#dns_netim)
|
||||||
- [182. Use Spaceship DNS API](#dns_spaceship)
|
- [182. Use Spaceship DNS API](#dns_spaceship)
|
||||||
|
- [182. Use Edgecenter DNS API](#dns_edgecenter)
|
||||||
- [Use custom API](#dns_myapi)
|
- [Use custom API](#dns_myapi)
|
||||||
- [Use lexicon DNS API](#dns_lexicon)
|
- [Use lexicon DNS API](#dns_lexicon)
|
||||||
|
|
||||||
|
@ -2650,6 +2651,48 @@ To issue your certificate run:
|
||||||
```
|
```
|
||||||
Report bugs at https://github.com/acmesh-official/acme.sh/issues/6304
|
Report bugs at https://github.com/acmesh-official/acme.sh/issues/6304
|
||||||
|
|
||||||
|
<a name="dns_spaceship"/>
|
||||||
|
|
||||||
|
|
||||||
|
## 183. Use Edgecenter DNS API
|
||||||
|
|
||||||
|
This uses [Edgecenter](https://edgecenter.ru/) DNS API.
|
||||||
|
|
||||||
|
API Key Setup:
|
||||||
|
|
||||||
|
1. Log in to your Edgecenter account → Click on the gear icon in the upper left corner of the page → Click on **API tokens**.
|
||||||
|
|
||||||
|
2. Click on **Create token**.
|
||||||
|
|
||||||
|
3. In the “Name” field, specify the token name.
|
||||||
|
|
||||||
|
4. (optional) In the “Description” field, you can enter additional information about the token.
|
||||||
|
|
||||||
|
5. In the **Role** section, specify the rights that will be assigned to the created token.
|
||||||
|
|
||||||
|
6. In the **Expiration** section, select the expiration date of the token:
|
||||||
|
- “Never expire” — sets the token's validity period to unlimited.
|
||||||
|
- “Set expiration date” — sets the expiration date of the token in the field below.
|
||||||
|
|
||||||
|
7. Click the **Create** button to generate the API token. A pop-up window with the API token will be opened.
|
||||||
|
|
||||||
|
8. After you save the generated token, click **OK, I've copied token**. You can view the information about the token in the **API tokens** section.
|
||||||
|
|
||||||
|
Before running `acme.sh` script, you need to provide your secret:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export EDGECENTER_API_KEY='YOUR_API_TOKEN'
|
||||||
|
```
|
||||||
|
|
||||||
|
To issue your certificate run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./acme.sh --issue --server letsencrypt --dns dns_edgecenter -d example.com
|
||||||
|
```
|
||||||
|
|
||||||
|
Report bugs at https://github.com/acmesh-official/acme.sh/issues/6310
|
||||||
|
|
||||||
|
|
||||||
<a name="dns_myapi"/>
|
<a name="dns_myapi"/>
|
||||||
|
|
||||||
## Use custom API
|
## Use custom API
|
||||||
|
|
Loading…
Reference in New Issue