Skip to content

Commit

Permalink
docs: fix all-inkl configuration (#1576)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolewu authored Jan 30, 2022
1 parent 3a588ea commit 7f69bdb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/zz_gen_cmd_dnshelp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:`)
Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_allinkl.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ lego --email [email protected] --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).
Expand Down
2 changes: 1 addition & 1 deletion providers/dns/allinkl/allinkl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions providers/dns/allinkl/allinkl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ lego --email [email protected] --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"
Expand Down

0 comments on commit 7f69bdb

Please sign in to comment.