Authentication Configuration
All configuration for authentication in the configuration service is managed under the auth key. The following table lists information about the key-value pairs and the example values.
| Key | Value Type | Example |
|---|---|---|
| /config/application/auth/jwtsecret | String | thisisstopsecretkey |
| /config/application/auth/jwtexpiration | String | 86400 |
| /config/application/auth/userinfo | JSON |
[
{
"username":"admin",
"password":"$2a$10$hzOJjNdnSZ4DNhs.P4v/dO46hxcW.M0jJHiCvQFSKBBhZO3nr2vuW",
"tenant":"default",
"roles":[
"admin",
"user"
]
},
{
"username":"admin",
"password":"$2a$10$hzOJjNdnSZ4DNhs.P4v/dO46hxcW.MOjJHiCvQFSKBBhZO3nr2vuW",
"tenant":"t1",
"roles":[
"admin",
"user"
]
},
{
"username":"opes",
"password":"$2a$04$1ULbrNGclQWB92AQJJ66/.gq3Q/iO.JSwjDFC9UoaoUQOAOd/Epsa",
"tenant":"t1",
"roles":[
"user"
]
}
]
|
Copyright © Cloud Software Group, Inc. All rights reserved.
