mirror of
https://github.com/go-acme/lego.git
synced 2024-12-05 03:58:54 +02:00
47219adc00
Different DNS providers were handling credentials in different ways. Some were reading credential environment variables in cli_handlers.go and then passing them into the NewDNSProvider function, while others were reading the environment variables within their NewDNSProvider functions. This change replaces each DNS challenge's NewDNSProvider function with two new functions: (1) a NewDNSProvider function that takes no parameters and uses the environment to read credentials, and (2) a NewDNSProviderCredentials that takes credentials as parameters. |
||
---|---|---|
.. | ||
dnsimple_test.go | ||
dnsimple.go |