forked from TrueCloudLab/lego
docs: fix all-inkl configuration (#1576)
This commit is contained in:
parent
3a588ea872
commit
7f69bdbbeb
4 changed files with 7 additions and 7 deletions
|
@ -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:`)
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue