mirror of
https://github.com/go-acme/lego.git
synced 2025-01-03 15:23:32 +02:00
azure: pass AZURE_CLIENT_SECRET_FILE to autorest.Authorizer (#1083)
This commit is contained in:
parent
403070dd9b
commit
a5e60d5d05
@ -83,6 +83,9 @@ func NewDNSProvider() (*DNSProvider, error) {
|
||||
config := NewDefaultConfig()
|
||||
config.SubscriptionID = env.GetOrFile(EnvSubscriptionID)
|
||||
config.ResourceGroup = env.GetOrFile(EnvResourceGroup)
|
||||
config.ClientSecret = env.GetOrFile(EnvClientSecret)
|
||||
config.ClientID = env.GetOrFile(EnvClientID)
|
||||
config.TenantID = env.GetOrFile(EnvTenantID)
|
||||
|
||||
return NewDNSProviderConfig(config)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user