Generating the User's Master Encryption Key

The user's Master Encryption key generation process is initiated after they have been successfully onboarded. The following is a graphical representation of the key generation process is outlined in the image:
  1. Upon the onboarding of a tenant, AppViewX initiates a request to AWS KMS to generate a Master Encryption Key (KMS-MEK) and a Data Encryption Key for the tenant.

    AppViewX refers to this Data Encryption Key as its internal Master Encryption Key and utilizes it to encrypt all sensitive information.

  2. AWS KMS generates the AppViewX MEK and encrypts it using the KMS-MEK stored in KMS.
  3. AWS KMS returns the encrypted AppViewX MEK.
  4. The encrypted AppViewX MEK is stored in the tenant's database.

    All encryption and decryption processes take place within AppViewX, and the key used for these operations is supplied by AWS KMS.

    Note: It is important to note that the AWS KMS generates the Master Encryption Keys (KMS-MEK, AppViewX MEK) for each tenant. The tenant's database (in which the encrypted AppViewX MEK is securely stored) is encrypted at rest for added security.