forked from go-acme/lego
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dnsimple: Upgrade client to 0.60.0 (go-acme#1148)
- Loading branch information
Showing
6 changed files
with
58 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,12 @@ Configuration for [DNSimple](https://dnsimple.com/). | |
|
||
- Code: `dnsimple` | ||
|
||
{{% notice note %}} | ||
_Please contribute by adding a CLI example._ | ||
{{% /notice %}} | ||
Here is an example bash command using the DNSimple provider: | ||
|
||
```bash | ||
DNSIMPLE_OAUTH_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz \ | ||
lego --dns dnsimple --domains my.domain.com --email [email protected] run | ||
``` | ||
|
||
|
||
|
||
|
@@ -29,7 +32,6 @@ _Please contribute by adding a CLI example._ | |
|
||
| Environment Variable Name | Description | | ||
|-----------------------|-------------| | ||
| `DNSIMPLE_BASE_URL` | API endpoint URL | | ||
| `DNSIMPLE_OAUTH_TOKEN` | OAuth token | | ||
|
||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. | ||
|
@@ -40,13 +42,29 @@ More information [here](/lego/dns/#configuration-and-credentials). | |
|
||
| Environment Variable Name | Description | | ||
|--------------------------------|-------------| | ||
| `DNSIMPLE_BASE_URL` | API endpoint URL | | ||
| `DNSIMPLE_POLLING_INTERVAL` | Time between DNS propagation check | | ||
| `DNSIMPLE_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation | | ||
| `DNSIMPLE_TTL` | The TTL of the TXT record used for the DNS challenge | | ||
|
||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. | ||
More information [here](/lego/dns/#configuration-and-credentials). | ||
|
||
## Description | ||
|
||
`DNSIMPLE_BASE_URL` is optional and must be set to production (https://api.dnsimple.com). | ||
if `DNSIMPLE_BASE_URL` is not defined or empty, the production URL is used by default. | ||
|
||
While you can manage DNS records in the [DNSimple Sandbox environment](https://developer.dnsimple.com/sandbox/), | ||
DNS records will not resolve and you will not be able to satisfy the ACME DNS challenge. | ||
|
||
To authenticate you need to provide a valid API token. | ||
HTTP Basic Authentication is intentionally not supported. | ||
|
||
### API tokens | ||
|
||
You can [generate a new API token](https://support.dnsimple.com/articles/api-access-token/) from your account page. | ||
Only Account API tokens are supported, if you try to use an User API token you will receive an error message. | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,34 @@ URL = "https://dnsimple.com/" | |
Code = "dnsimple" | ||
Since = "v0.3.0" | ||
|
||
Example = '''''' | ||
Example = ''' | ||
DNSIMPLE_OAUTH_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz \ | ||
lego --dns dnsimple --domains my.domain.com --email [email protected] run | ||
''' | ||
|
||
Additional = ''' | ||
## Description | ||
`DNSIMPLE_BASE_URL` is optional and must be set to production (https://api.dnsimple.com). | ||
if `DNSIMPLE_BASE_URL` is not defined or empty, the production URL is used by default. | ||
While you can manage DNS records in the [DNSimple Sandbox environment](https://developer.dnsimple.com/sandbox/), | ||
DNS records will not resolve and you will not be able to satisfy the ACME DNS challenge. | ||
To authenticate you need to provide a valid API token. | ||
HTTP Basic Authentication is intentionally not supported. | ||
### API tokens | ||
You can [generate a new API token](https://support.dnsimple.com/articles/api-access-token/) from your account page. | ||
Only Account API tokens are supported, if you try to use an User API token you will receive an error message. | ||
''' | ||
|
||
[Configuration] | ||
[Configuration.Credentials] | ||
DNSIMPLE_OAUTH_TOKEN = "OAuth token" | ||
DNSIMPLE_BASE_URL = "API endpoint URL" | ||
[Configuration.Additional] | ||
DNSIMPLE_BASE_URL = "API endpoint URL" | ||
DNSIMPLE_POLLING_INTERVAL = "Time between DNS propagation check" | ||
DNSIMPLE_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation" | ||
DNSIMPLE_TTL = "The TTL of the TXT record used for the DNS challenge" | ||
|