Nacos AMC or KMS

This commit is contained in:
yoyofx
2021-06-01 19:33:47 +08:00
parent 66c4e16397
commit badd6647dc
3 changed files with 22 additions and 0 deletions

View File

@@ -17,4 +17,15 @@ type Auth struct {
Enable bool `mapstructure:"enable"`
User string `mapstructure:"username"`
Password string `mapstructure:"password"`
// ACM Endpoint
Endpoint string `mapstructure:"endpoint"`
// ACM RegionId
RegionId string `mapstructure:"regionId"`
// ACM AccessKey
AccessKey string `mapstructure:"accessKey"`
// ACM SecretKey
SecretKey string `mapstructure:"secretKey"`
// ACM OpenKMS
OpenKMS bool `mapstructure:"openKMS"`
}