Make specification of encryptionKey required instead of defaulting to secret
Original commit: elastic/x-pack-elasticsearch@14f2e22356
This commit is contained in:
parent
7af8bd5de7
commit
25966f03d9
|
@ -9,7 +9,7 @@ module.exports = (kibana) => new kibana.Plugin({
|
||||||
config(Joi) {
|
config(Joi) {
|
||||||
return Joi.object({
|
return Joi.object({
|
||||||
enabled: Joi.boolean().default(true),
|
enabled: Joi.boolean().default(true),
|
||||||
encryptionKey: Joi.string().default('secret'),
|
encryptionKey: Joi.string().required(),
|
||||||
sessionTimeout: Joi.number().default(30 * 60 * 1000)
|
sessionTimeout: Joi.number().default(30 * 60 * 1000)
|
||||||
}).default()
|
}).default()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue