nginx-proxy-manager/backend/internal/dnsproviders/dns_cf.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

44 lines
791 B
Go

package dnsproviders
func getDNSCf() Provider {
return Provider{
Title: "dns_cf",
Type: "object",
AdditionalProperties: false,
Required: []string{
"CF_Key",
"CF_Email",
"CF_Token",
"CF_Account_ID",
},
Properties: map[string]providerField{
"CF_Key": {
Title: "api-key",
Type: "string",
MinLength: 1,
},
"CF_Email": {
Title: "email",
Type: "string",
MinLength: 5,
},
"CF_Token": {
Title: "token",
Type: "string",
MinLength: 5,
IsSecret: true,
},
"CF_Account_ID": {
Title: "account-id",
Type: "string",
MinLength: 1,
},
"CF_Zone_ID": {
Title: "zone-id",
Type: "string",
MinLength: 1,
},
},
}
}