From 7ea293df6071cfcf087e3d49f758f77c19b8e3d2 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 31 Aug 2022 12:46:16 -0700 Subject: [PATCH] Added db encryption descriptions in the config.json schema. --- meshcentral-config-schema.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index c3dcb6f7..1ae2a626 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -82,9 +82,9 @@ "sessionTime": { "type": "integer", "default": 60, "description": "Duration of a session cookie in minutes. Changing this affects how often the session needs to be automatically refreshed." }, "sessionKey": { "type": "string", "default": null, "description": "Password used to encrypt the MeshCentral web session cookies. If null, a random one is generated each time the server starts." }, "sessionSameSite": { "type": "string", "default": "lax", "enum": ["strict", "lax", "none"] }, - "dbEncryptKey": { "type": "string" }, - "dbRecordsEncryptKey": { "type": "string", "default": null }, - "dbRecordsDecryptKey": { "type": "string", "default": null }, + "dbEncryptKey": { "type": "string", "default": null, "description": "This value is only valid when used with NeDB, sets the database encryption and decryption key." }, + "dbRecordsEncryptKey": { "type": "string", "default": null, "description": "With any database, encrypt and decrypt sensitive information within records using this secret key." }, + "dbRecordsDecryptKey": { "type": "string", "default": null, "description": "With any database, decrypt sensitive information within records using this secret key, don't use a key to encrypt records." }, "dbExpire": { "type": "object", "properties": {