Turn Off Encryption for a Database
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 11.0
- Documentation
-
Select Databases from the left tree menu in the Admin Interface.
-
Click on the Documents database to turn off encryption.
-
On the Database Configuration page, next to data encryption, select
offfrom the drop-down menu. -
Click OK.
To verify that encryption is turned off, run this query in Query Console:
xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin"
at "/MarkLogic/admin.xqy";
let $config := admin:get-configuration()
return admin:database-get-data-encryption($config, xdmp:database("Documents"))
=>
off
To decrypt the existing data in your database, you will need to re-index your database. On the Database Configuration page, click the reindex button and then click ok.
Note: You can also decrypt the data by forcing a merge on the database to decrypt its contents. This process may take a while.