Skip to main content

Securing MarkLogic Server

Test It Out

Using Query Console, you can run a simple query to verify that the Documents database has encryption turned on.

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"))

=>
on

You can also check the Size and Encrypted Size numbers on the Database Status page. These numbers will be equal when the encryption process is complete and the entire database is encrypted.