forked from TrueCloudLab/lego
azure: pass AZURE_CLIENT_SECRET_FILE to autorest.Authorizer (#1083)
This commit is contained in:
parent
403070dd9b
commit
a5e60d5d05
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue