docs: fix all-inkl configuration (#1576)

This commit is contained in:
Uwe Koloska 2022-01-30 21:51:04 +01:00 committed by GitHub
parent 3a588ea872
commit 7f69bdbbeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -169,8 +169,8 @@ func displayDNSHelp(name string) error {
ew.writeln() ew.writeln()
ew.writeln(`Credentials:`) ew.writeln(`Credentials:`)
ew.writeln(` - "ALL_INKL_API_KEY": API login`) ew.writeln(` - "ALL_INKL_LOGIN": KAS login`)
ew.writeln(` - "ALL_INKL_PASSWORD": API password`) ew.writeln(` - "ALL_INKL_PASSWORD": KAS password`)
ew.writeln() ew.writeln()
ew.writeln(`Additional Configuration:`) ew.writeln(`Additional Configuration:`)

View file

@ -33,8 +33,8 @@ lego --email myemail@example.com --dns allinkl --domains my.example.org run
| Environment Variable Name | Description | | Environment Variable Name | Description |
|-----------------------|-------------| |-----------------------|-------------|
| `ALL_INKL_API_KEY` | API login | | `ALL_INKL_LOGIN` | KAS login |
| `ALL_INKL_PASSWORD` | API password | | `ALL_INKL_PASSWORD` | KAS password |
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. 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). More information [here](/lego/dns/#configuration-and-credentials).

View file

@ -57,7 +57,7 @@ type DNSProvider struct {
} }
// NewDNSProvider returns a DNSProvider instance configured for all-inkl. // NewDNSProvider returns a DNSProvider instance configured for all-inkl.
// Credentials must be passed in the environment variable: ALL_INKL_API_KEY, ALL_INKL_PASSWORD. // Credentials must be passed in the environment variable: ALL_INKL_LOGIN, ALL_INKL_PASSWORD.
func NewDNSProvider() (*DNSProvider, error) { func NewDNSProvider() (*DNSProvider, error) {
values, err := env.Get(EnvLogin, EnvPassword) values, err := env.Get(EnvLogin, EnvPassword)
if err != nil { if err != nil {

View file

@ -12,8 +12,8 @@ lego --email myemail@example.com --dns allinkl --domains my.example.org run
[Configuration] [Configuration]
[Configuration.Credentials] [Configuration.Credentials]
ALL_INKL_API_KEY = "API login" ALL_INKL_LOGIN = "KAS login"
ALL_INKL_PASSWORD = "API password" ALL_INKL_PASSWORD = "KAS password"
[Configuration.Additional] [Configuration.Additional]
ALL_INKL_POLLING_INTERVAL = "Time between DNS propagation check" ALL_INKL_POLLING_INTERVAL = "Time between DNS propagation check"
ALL_INKL_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation" ALL_INKL_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation"