Field Level Encryption

Use field level encryption to encrypt sensitive fields individually and ensure greater protection for your data.

To do this, adjust the config.json as follows:

  1. Add the corresponding configuration under "database":

  "database": {
    "uriConnectionString": "mongodb//...",
    "fieldLevelEncryption": {
      "enabled": true,
      "key": "..."
    }
  },

Please leave space between the quotation marks for a secure password with 16 to 32 characters for "key": "...".

  1. You must run setup.sh after every customization!

  1. Finally, save your key carefully.

Last updated