1
0
mirror of https://github.com/go-acme/lego.git synced 2024-11-25 00:56:20 +02:00

azure: fix configuration from env vars (#1972)

This commit is contained in:
Michael 2023-07-25 15:42:49 +02:00 committed by GitHub
parent 018db1267e
commit f6aad431be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,9 +90,9 @@ func NewDNSProvider() (*DNSProvider, error) {
config.ResourceGroup = env.GetOrFile(EnvResourceGroup)
config.PrivateZone = env.GetOrDefaultBool(EnvPrivateZone, false)
config.ClientID = env.GetOrFile(EnvTenantID)
config.ClientSecret = env.GetOrFile(EnvClientID)
config.TenantID = env.GetOrFile(EnvClientSecret)
config.ClientID = env.GetOrFile(EnvClientID)
config.ClientSecret = env.GetOrFile(EnvClientSecret)
config.TenantID = env.GetOrFile(EnvTenantID)
return NewDNSProviderConfig(config)
}