sign
This commit is contained in:
@@ -60,6 +60,7 @@ type YamlConfig struct {
|
||||
CheckContentType bool `yaml:"checkContentType"`
|
||||
TestMode bool `yaml:"testMode"`
|
||||
RBACMode bool `yaml:"rbacMode"`
|
||||
RunDir string `yaml:"runDir"`
|
||||
} `yaml:"omc"`
|
||||
|
||||
Alarm struct {
|
||||
@@ -98,10 +99,12 @@ type YamlConfig struct {
|
||||
} `yaml:"ne"`
|
||||
|
||||
Auth struct {
|
||||
Crypt string `yaml:"crypt"`
|
||||
Token bool `yaml:"token"`
|
||||
Expires uint32 `yaml:"expires"`
|
||||
Session string `yaml:"session"`
|
||||
Crypt string `yaml:"crypt"`
|
||||
Token bool `yaml:"token"`
|
||||
Expires uint32 `yaml:"expires"`
|
||||
Session string `yaml:"session"`
|
||||
PublicKey string `yaml:"publicKey"`
|
||||
PrivateKey string `yaml:"privateKey"`
|
||||
} `yaml:"auth"`
|
||||
|
||||
Params struct {
|
||||
|
||||
@@ -63,6 +63,7 @@ omc:
|
||||
checkContentType: false
|
||||
testMode: true
|
||||
rbacMode: true
|
||||
runDir:
|
||||
|
||||
# Alarm module setting
|
||||
# Forward interface:
|
||||
@@ -91,6 +92,8 @@ auth:
|
||||
token: true
|
||||
expires: 1800
|
||||
session: multiple
|
||||
publicKey: /usr/local/omc/etc/certs/omc_pub.key
|
||||
privateKey: /usr/local/omc/etc/certs/omc_pri.key
|
||||
|
||||
# Parameter for limit number
|
||||
# rmuid_maxnum: the max number of rmUID, default: 50
|
||||
|
||||
Reference in New Issue
Block a user