mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-06 22:42:11 +08:00
Wiki adjustment for [#6563](https://github.com/acmesh-official/acme.sh/pull/6563)
@@ -2799,6 +2799,7 @@ You need a **new** personal access token from the **Hetzner Cloud** and must set
|
||||
* `HETZNER_TOKEN` *(required)* — Personal Access Token for the Cloud DNS API (**read & write**).
|
||||
* `HETZNER_TTL` *(optional)* — TTL in seconds for TXT RRsets (default **120**).
|
||||
* `HETZNER_API` *(optional)* — Override API base URL (default `https://api.hetzner.cloud/v1`).
|
||||
* `HETZNER_MAX_ATTEMPTS` *(optional)* — Number of 1-second polls to wait for asynchronous Hetzner actions (default 120). Increase this if your zone needs more time to finish changes.
|
||||
|
||||
**Example**
|
||||
|
||||
@@ -2807,6 +2808,7 @@ export HETZNER_TOKEN="your_token_here"
|
||||
# optional:
|
||||
# export HETZNER_TTL=120
|
||||
# export HETZNER_API="https://api.hetzner.cloud/v1"
|
||||
# export HETZNER_MAX_ATTEMPTS=120
|
||||
|
||||
acme.sh --issue --dns dns_hetznercloud -d test.example.com
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user