2022-05-11 22:47:31 +00:00
|
|
|
package dnsproviders
|
|
|
|
|
|
|
|
func getDNSCf() Provider {
|
|
|
|
return Provider{
|
2023-01-12 06:25:43 +00:00
|
|
|
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,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"CF_Email": {
|
|
|
|
Title: "email",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 5,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"CF_Token": {
|
|
|
|
Title: "token",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 5,
|
|
|
|
IsSecret: true,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"CF_Account_ID": {
|
|
|
|
Title: "account-id",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 1,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"CF_Zone_ID": {
|
|
|
|
Title: "zone-id",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 1,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|