nginx-proxy-manager/backend/internal/dnsproviders/dns_azure.go
Jamie Curnow 5d3bc0fabd Refactor acme.sh dns providers
- updated chakra and typescript
- added locales for dns provider configs
2023-01-12 16:25:43 +10:00

39 lines
799 B
Go

package dnsproviders
func getDNSAzure() Provider {
return Provider{
Title: "dns_azure",
Type: "object",
AdditionalProperties: false,
Required: []string{
"AZUREDNS_SUBSCRIPTIONID",
"AZUREDNS_TENANTID",
"AZUREDNS_APPID",
"AZUREDNS_CLIENTSECRET",
},
Properties: map[string]providerField{
"AZUREDNS_SUBSCRIPTIONID": {
Title: "subscription-id",
Type: "string",
MinLength: 1,
},
"AZUREDNS_TENANTID": {
Title: "tenant-id",
Type: "string",
MinLength: 1,
},
"AZUREDNS_APPID": {
Title: "app-id",
Type: "string",
MinLength: 1,
},
"AZUREDNS_CLIENTSECRET": {
Title: "client-secret",
Type: "string",
MinLength: 1,
IsSecret: true,
},
},
}
}