Added db encryption descriptions in the config.json schema.

Ylian Saint-Hilaire committed Aug 31, 2022 at 12:46 UTC 7ea293df6071cfcf087e3d49f758f77c19b8e3d2
1 file changed +3 -3
meshcentral-config-schema.json
+3 -3
@@ -82,9 +82,9 @@
82 "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." },
83 "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." },
84 "sessionSameSite": { "type": "string", "default": "lax", "enum": ["strict", "lax", "none"] },
85 - "dbEncryptKey": { "type": "string" },
86 - "dbRecordsEncryptKey": { "type": "string", "default": null },
87 - "dbRecordsDecryptKey": { "type": "string", "default": null },
85 + "dbEncryptKey": { "type": "string", "default": null, "description": "This value is only valid when used with NeDB, sets the database encryption and decryption key." },
86 + "dbRecordsEncryptKey": { "type": "string", "default": null, "description": "With any database, encrypt and decrypt sensitive information within records using this secret key." },
87 + "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." },
88 "dbExpire": {
89 "type": "object",
90 "properties": {