Encrypting Data Using the AppViewX MEK

To ensure the protection of sensitive data, it should be encrypted. To securely encrypt the data, AppViewX executes the following steps:
  1. Retrieve the encrypted MEK from the in-memory cache.

    If the AppViewX Master Encryption Key (MEK) necessary for encryption is not yet available in the in-memory cache, it is retrieved from the tenant's database.

  2. Send a request to the AWS KMS to decrypt the MEK.
  3. Retrieve the decrypted plaintext AppViewX MEK and cache it in memory.
  4. Encrypt sensitive data using AppViewX MEK.
  5. Once the plaintext MEK has been retrieved, store it in memory for future sensitive data encryptions.

    This helps to improve performance by reducing the number of calls to AWS KMS for each encryption/decryption request.