nginx-proxy-manager/backend/internal/dnsproviders/dns_acmedns.go

35 lines
674 B
Go
Raw Normal View History

2022-06-01 09:11:21 +00:00
package dnsproviders
func getDNSAcmeDNS() Provider {
return Provider{
Title: "dns_acmedns",
Type: "object",
AdditionalProperties: false,
Required: []string{
"ACMEDNS_BASE_URL",
"ACMEDNS_SUBDOMAIN",
"ACMEDNS_USERNAME",
"ACMEDNS_PASSWORD",
},
Properties: map[string]providerField{
"ACMEDNS_BASE_URL": {
Title: "base-url",
Type: "string",
2022-06-01 09:11:21 +00:00
},
"ACMEDNS_SUBDOMAIN": {
Title: "subdomain",
Type: "string",
2022-06-01 09:11:21 +00:00
},
"ACMEDNS_USERNAME": {
Title: "username",
Type: "string",
2022-06-01 09:11:21 +00:00
},
"ACMEDNS_PASSWORD": {
Title: "password",
Type: "string",
IsSecret: true,
2022-06-01 09:11:21 +00:00
},
},
}
}