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

31 lines
619 B
Go

package dnsproviders
func getDNSAws() Provider {
return Provider{
Title: "dns_aws",
Type: "object",
AdditionalProperties: false,
Required: []string{
"AWS_ACCESS_KEY_ID",
"AWS_SECRET_ACCESS_KEY",
},
Properties: map[string]providerField{
"AWS_ACCESS_KEY_ID": {
Title: "access-key-id",
Type: "string",
MinLength: 10,
},
"AWS_SECRET_ACCESS_KEY": {
Title: "secret-access-key",
Type: "string",
MinLength: 10,
IsSecret: true,
},
"AWS_DNS_SLOWRATE": {
Title: "slow-rate",
Type: "integer",
},
},
}
}