mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-24 05:38:15 -05:00
26 lines
466 B
Go
26 lines
466 B
Go
|
package dnsproviders
|
||
|
|
||
|
func getDNSAli() Provider {
|
||
|
return Provider{
|
||
|
AcmeshName: "dns_ali",
|
||
|
Schema: commonKeySecretSchema,
|
||
|
Fields: []providerField{
|
||
|
{
|
||
|
Name: "Key",
|
||
|
Type: "text",
|
||
|
MetaKey: "api_key",
|
||
|
EnvKey: "Ali_Key",
|
||
|
IsRequired: true,
|
||
|
},
|
||
|
{
|
||
|
Name: "Secret",
|
||
|
Type: "password",
|
||
|
MetaKey: "secret",
|
||
|
EnvKey: "Ali_Secret",
|
||
|
IsRequired: true,
|
||
|
IsSecret: true,
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
}
|