-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inwx: Two-Factor-Authentication (#1176)
- Loading branch information
Showing
7 changed files
with
77 additions
and
17 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,19 @@ Configuration for [INWX](https://www.inwx.de/en). | |
|
||
- Code: `inwx` | ||
|
||
{{% notice note %}} | ||
_Please contribute by adding a CLI example._ | ||
{{% /notice %}} | ||
Here is an example bash command using the INWX provider: | ||
|
||
```bash | ||
INWX_USERNAME=xxxxxxxxxx \ | ||
INWX_PASSWORD=yyyyyyyyyy \ | ||
lego --dns inwx --domains my.domain.com --email [email protected] run | ||
|
||
# 2FA | ||
INWX_USERNAME=xxxxxxxxxx \ | ||
INWX_PASSWORD=yyyyyyyyyy \ | ||
INWX_SHARED_SECRET=zzzzzzzzzz \ | ||
lego --dns inwx --domains my.domain.com --email [email protected] run | ||
``` | ||
|
||
|
||
|
||
|
@@ -43,6 +53,7 @@ More information [here](/lego/dns/#configuration-and-credentials). | |
| `INWX_POLLING_INTERVAL` | Time between DNS propagation check | | ||
| `INWX_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation | | ||
| `INWX_SANDBOX` | Activate the sandbox (boolean) | | ||
| `INWX_SHARED_SECRET` | shared secret related to 2FA | | ||
| `INWX_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. | ||
|
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,24 @@ URL = "https://www.inwx.de/en" | |
Code = "inwx" | ||
Since = "v2.0.0" | ||
|
||
Example = '''''' | ||
Example = ''' | ||
INWX_USERNAME=xxxxxxxxxx \ | ||
INWX_PASSWORD=yyyyyyyyyy \ | ||
lego --dns inwx --domains my.domain.com --email [email protected] run | ||
# 2FA | ||
INWX_USERNAME=xxxxxxxxxx \ | ||
INWX_PASSWORD=yyyyyyyyyy \ | ||
INWX_SHARED_SECRET=zzzzzzzzzz \ | ||
lego --dns inwx --domains my.domain.com --email [email protected] run | ||
''' | ||
|
||
[Configuration] | ||
[Configuration.Credentials] | ||
INWX_USERNAME = "Username" | ||
INWX_PASSWORD = "Password" | ||
[Configuration.Additional] | ||
INWX_SHARED_SECRET = "shared secret related to 2FA" | ||
INWX_POLLING_INTERVAL = "Time between DNS propagation check" | ||
INWX_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation" | ||
INWX_TTL = "The TTL of the TXT record used for the DNS challenge" | ||
|
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