Prerequisites
The location must be on the Enterprise subscription tier.
You must have contacted Xakia via support@xakiatech.com to have the CMEK feature enabled for your location.
You must have an Azure Key Vault instance with an encryption key already created.
You must have Azure Global Administrator permissions to grant application consent.
Step 1 — Select Customer Managed in Document Management
In Admin, navigate to Advanced Features > Document Management.
Scroll to the Encryption Key section at the bottom of the page.
This section is only visible when Document Management is enabled for the location.
It defaults to Xakia Managed.
Select Customer Managed.
Step 2 — Grant application consent
Xakia uses an Azure application called Xakia CMEK to authenticate to your Azure tenant and access your Key Vault. You must grant consent for this application before the integration can proceed.
Click Get the App within the Customer Managed setup panel.
Sign in with your Azure Global Administrator credentials when prompted.
Review the permissions requested by the Xakia CMEK application and click Accept.
You will be redirected back to Xakia, where the consent timestamp will be recorded.
Step 3 — Configure the Key Vault connection
Next, tell Xakia where to find your encryption key.
In the setup panel, enter your Key Vault URI.
You can find this on the Overview page of your Key Vault instance in the Azure Portal — it is labelled Vault URI.
Enter the Key Name — the name of the specific key within that vault that Xakia should use.
Click Save.
Xakia will immediately validate the configuration in the background, checking that it can connect to the vault and that the key has the required operations enabled. Any validation errors will be displayed inline with guidance on how to resolve them.
The following prerequisites must be met:
The Xakia app is given Get, WrapKey and UnwrapKey permissions on your Key Vault
The Key Type is RSA
The Key operations include WrapKey and UnwrapKey
The Key Vault has Soft Delete enabled
The Key Vault has Purge Protection enabled
Once the configuration reads Configuration is valid, you are ready to proceed.
Step 4 — Enable CMEK
Click the Enabled toggle.
From this point on, all document content uploaded to this location will be encrypted and decrypted using your key. This also applies to document preview images.
Important: Documents uploaded before CMEK was enabled were encrypted with Xakia's managed key. Those documents will continue to function normally. Only new uploads from this point forward use your key.
Verifying the setup
To confirm CMEK is working correctly:
Upload a document to a matter in the location.
Verify that the document preview renders as expected.
Download the document and confirm the content is intact.
In your Azure Key Vault, disable the encryption key.
Return to Xakia, perform a hard refresh and empty your browsers cache. Attempt to preview or download the same document — both actions should now return an error, confirming Xakia can no longer access the content without your key.
Re-enable the key in Azure. The document preview and download will work again immediately.
Revoking access (offboarding)
When you are ready to offboard or wish to permanently revoke Xakia's access to your documents:
In your Azure Key Vault, disable or delete the encryption key, or remove the Xakia CMEK application's access.
Once this is done, Xakia has no means of decrypting any document content stored for that location. No further action within Xakia is required.
