Updated dnsapi2 (markdown)
parent
be70835ac3
commit
d65811461d
31
dnsapi2.md
31
dnsapi2.md
|
@ -2612,18 +2612,35 @@ Report bugs at https://github.com/acmesh-official/acme.sh/issues/6273
|
|||
|
||||
## 182. Use Spaceship DNS API
|
||||
|
||||
You need to generate an Spaceship API Key.
|
||||
|
||||
API Key Setup:
|
||||
1. Log in to Spaceship account
|
||||
2. Generate your API Key
|
||||
|
||||
1. **Access Launchpad**
|
||||
Log in to your Spaceship account → Navigate to **Launchpad** from the dashboard.
|
||||
|
||||
2. **Go to API Manager**
|
||||
In Launchpad → Click on **API Manager**.
|
||||
|
||||
3. **Enable API Access**
|
||||
In API Manager → Ensure **API Access** is set to **Enable** (toggle if needed).
|
||||
|
||||
4. **Create New API Key**
|
||||
In API Manager → Click **New API Key**.
|
||||
|
||||
5. **Configure Custom Access**
|
||||
Select **Custom Access** → Enable only:
|
||||
- **DNS Records - Read**
|
||||
- **DNS Records - Write**
|
||||
Disable all other permissions.
|
||||
|
||||
6. **Create the API Key**
|
||||
Click **Create API Key** → Copy and store the secret securely (it won’t be shown again).
|
||||
|
||||
Before running `acme.sh` script, you need to provide your user and secret:
|
||||
|
||||
```sh
|
||||
export SPACESHIP_API_KEY='Spaceship API Key'
|
||||
export SPACESHIP_API_SECRET='Spaceship API Secret'
|
||||
export SPACESHIP_ROOT_DOMAIN='(Optional) Manually specify the root domain if auto-detection fails'
|
||||
export SPACESHIP_API_KEY='8azEY0VMllj859ZqepH7'
|
||||
export SPACESHIP_API_SECRET='JkZcYYVvSgwSAOXugXrBZ38nbhcanwiZvYP1MtTu0erI32Vmdxtcxn0tTGGL7SGW'
|
||||
export SPACESHIP_ROOT_DOMAIN='(Optional) <Manually specify the root domain if auto-detection fails>'
|
||||
```
|
||||
|
||||
To issue your certificate run:
|
||||
|
|
Loading…
Reference in New Issue