Make specification of encryptionKey required instead of defaulting to secret

Original commit: elastic/x-pack-elasticsearch@14f2e22356
This commit is contained in:
Lukas Olson 2015-11-20 13:02:31 -07:00
parent 7af8bd5de7
commit 25966f03d9
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ module.exports = (kibana) => new kibana.Plugin({
config(Joi) {
return Joi.object({
enabled: Joi.boolean().default(true),
encryptionKey: Joi.string().default('secret'),
encryptionKey: Joi.string().required(),
sessionTimeout: Joi.number().default(30 * 60 * 1000)
}).default()
},