nginx-proxy-manager/backend/internal/dnsproviders/dns_inwx.go
Jamie Curnow d1bb22d768 dns_inwx
2022-06-01 08:49:31 +04:00

47 lines
720 B
Go

package dnsproviders
const inwxSchema = `
{
"type": "object",
"required": [
"user",
"password"
],
"additionalProperties": false,
"properties": {
"user": {
"type": "string",
"minLength": 1
},
"password": {
"type": "string",
"minLength": 1
}
}
}
`
func getDNSInwx() Provider {
return Provider{
AcmeshName: "dns_inwx",
Schema: inwxSchema,
Fields: []providerField{
{
Name: "User",
Type: "text",
MetaKey: "user",
EnvKey: "INWX_User",
IsRequired: true,
},
{
Name: "Password",
Type: "password",
MetaKey: "password",
EnvKey: "INWX_Password",
IsRequired: true,
IsSecret: true,
},
},
}
}