From 7f69bdbbeb077ecfc63bff80d1367b24bca59f09 Mon Sep 17 00:00:00 2001 From: Uwe Koloska Date: Sun, 30 Jan 2022 21:51:04 +0100 Subject: [PATCH] docs: fix all-inkl configuration (#1576) --- cmd/zz_gen_cmd_dnshelp.go | 4 ++-- docs/content/dns/zz_gen_allinkl.md | 4 ++-- providers/dns/allinkl/allinkl.go | 2 +- providers/dns/allinkl/allinkl.toml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/zz_gen_cmd_dnshelp.go b/cmd/zz_gen_cmd_dnshelp.go index dbb610c7..f6a0dc34 100644 --- a/cmd/zz_gen_cmd_dnshelp.go +++ b/cmd/zz_gen_cmd_dnshelp.go @@ -169,8 +169,8 @@ func displayDNSHelp(name string) error { ew.writeln() ew.writeln(`Credentials:`) - ew.writeln(` - "ALL_INKL_API_KEY": API login`) - ew.writeln(` - "ALL_INKL_PASSWORD": API password`) + ew.writeln(` - "ALL_INKL_LOGIN": KAS login`) + ew.writeln(` - "ALL_INKL_PASSWORD": KAS password`) ew.writeln() ew.writeln(`Additional Configuration:`) diff --git a/docs/content/dns/zz_gen_allinkl.md b/docs/content/dns/zz_gen_allinkl.md index 443bcb41..318ee637 100644 --- a/docs/content/dns/zz_gen_allinkl.md +++ b/docs/content/dns/zz_gen_allinkl.md @@ -33,8 +33,8 @@ lego --email myemail@example.com --dns allinkl --domains my.example.org run | Environment Variable Name | Description | |-----------------------|-------------| -| `ALL_INKL_API_KEY` | API login | -| `ALL_INKL_PASSWORD` | API password | +| `ALL_INKL_LOGIN` | KAS login | +| `ALL_INKL_PASSWORD` | KAS password | 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). diff --git a/providers/dns/allinkl/allinkl.go b/providers/dns/allinkl/allinkl.go index a8807b32..4675b6e6 100644 --- a/providers/dns/allinkl/allinkl.go +++ b/providers/dns/allinkl/allinkl.go @@ -57,7 +57,7 @@ type DNSProvider struct { } // 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) { values, err := env.Get(EnvLogin, EnvPassword) if err != nil { diff --git a/providers/dns/allinkl/allinkl.toml b/providers/dns/allinkl/allinkl.toml index ea1aa636..7742cf80 100644 --- a/providers/dns/allinkl/allinkl.toml +++ b/providers/dns/allinkl/allinkl.toml @@ -12,8 +12,8 @@ lego --email myemail@example.com --dns allinkl --domains my.example.org run [Configuration] [Configuration.Credentials] - ALL_INKL_API_KEY = "API login" - ALL_INKL_PASSWORD = "API password" + ALL_INKL_LOGIN = "KAS login" + ALL_INKL_PASSWORD = "KAS password" [Configuration.Additional] ALL_INKL_POLLING_INTERVAL = "Time between DNS propagation check" ALL_INKL_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation"