mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
hetzner: update to new API (#2663)
This commit is contained in:
parent
213d7b8fa3
commit
f0c314c3ef
35 changed files with 1583 additions and 165 deletions
10
docs/content/dns/zz_gen_hetzner.md
generated
10
docs/content/dns/zz_gen_hetzner.md
generated
|
|
@ -26,7 +26,7 @@ Configuration for [Hetzner](https://hetzner.com).
|
|||
Here is an example bash command using the Hetzner provider:
|
||||
|
||||
```bash
|
||||
HETZNER_API_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
|
||||
HETZNER_API_TOKEN="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
lego --email you@example.com --dns hetzner -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ lego --email you@example.com --dns hetzner -d '*.example.com' -d example.com run
|
|||
|
||||
| Environment Variable Name | Description |
|
||||
|-----------------------|-------------|
|
||||
| `HETZNER_API_KEY` | API key |
|
||||
| `HETZNER_API_TOKEN` | API token |
|
||||
|
||||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
||||
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
||||
|
|
@ -49,8 +49,8 @@ More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
|||
|--------------------------------|-------------|
|
||||
| `HETZNER_HTTP_TIMEOUT` | API request timeout in seconds (Default: 30) |
|
||||
| `HETZNER_POLLING_INTERVAL` | Time between DNS propagation check in seconds (Default: 2) |
|
||||
| `HETZNER_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation in seconds (Default: 120) |
|
||||
| `HETZNER_TTL` | The TTL of the TXT record used for the DNS challenge in seconds (Default: 60) |
|
||||
| `HETZNER_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation in seconds (Default: 60) |
|
||||
| `HETZNER_TTL` | The TTL of the TXT record used for the DNS challenge in seconds (Default: 120) |
|
||||
|
||||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
||||
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
||||
|
|
@ -60,7 +60,7 @@ More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
|||
|
||||
## More information
|
||||
|
||||
- [API documentation](https://dns.hetzner.com/api-docs)
|
||||
- [API documentation](https://docs.hetzner.cloud/reference/cloud#dns)
|
||||
|
||||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
||||
<!-- providers/dns/hetzner/hetzner.toml -->
|
||||
|
|
|
|||
67
docs/content/dns/zz_gen_hetznerv1.md
generated
Normal file
67
docs/content/dns/zz_gen_hetznerv1.md
generated
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
---
|
||||
title: "Hetzner"
|
||||
date: 2019-03-03T16:39:46+01:00
|
||||
draft: false
|
||||
slug: hetznerv1
|
||||
dnsprovider:
|
||||
since: "v4.27.0"
|
||||
code: "hetznerv1"
|
||||
url: "https://hetzner.com"
|
||||
---
|
||||
|
||||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
||||
<!-- providers/dns/hetznerv1/hetznerv1.toml -->
|
||||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
||||
|
||||
|
||||
Configuration for [Hetzner](https://hetzner.com).
|
||||
|
||||
|
||||
<!--more-->
|
||||
|
||||
- Code: `hetznerv1`
|
||||
- Since: v4.27.0
|
||||
|
||||
|
||||
Here is an example bash command using the Hetzner provider:
|
||||
|
||||
```bash
|
||||
HETZNER_API_TOKEN="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
lego --email you@example.com --dns hetznerv1 -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
## Credentials
|
||||
|
||||
| Environment Variable Name | Description |
|
||||
|-----------------------|-------------|
|
||||
| `HETZNER_API_TOKEN` | API token |
|
||||
|
||||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
||||
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
||||
|
||||
|
||||
## Additional Configuration
|
||||
|
||||
| Environment Variable Name | Description |
|
||||
|--------------------------------|-------------|
|
||||
| `HETZNER_HTTP_TIMEOUT` | API request timeout in seconds (Default: 30) |
|
||||
| `HETZNER_POLLING_INTERVAL` | Time between DNS propagation check in seconds (Default: 2) |
|
||||
| `HETZNER_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation in seconds (Default: 60) |
|
||||
| `HETZNER_TTL` | The TTL of the TXT record used for the DNS challenge in seconds (Default: 120) |
|
||||
|
||||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
||||
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
||||
|
||||
|
||||
|
||||
|
||||
## More information
|
||||
|
||||
- [API documentation](https://docs.hetzner.cloud/reference/cloud#dns)
|
||||
|
||||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
||||
<!-- providers/dns/hetznerv1/hetznerv1.toml -->
|
||||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue