Powered by Zoomin Software. For more details please contactZoomin

Secure MarkLogic Server

Database Encryption Options

  • Last Updated: May 20, 2026
  • 2 minute read
    • MarkLogic Server
    • Version 12.0
    • Documentation

You can configure encryption for each database on the Database Configuration page in the Admin Interface. Encryption at rest can be separately enabled per database, or at the cluster level by setting the database encryption to default to the cluster encryption settings. The encryption options for databases are shown in this table:

Encryption Property Description Options
Database Encryption Specifies whether or not encryption at rest should be enabled for this database.
  • default-cluster: Encryption defaults to the Data Encryption cluster setting (Clusters > Keystore).
  • on: Encryption is enabled for this database.
  • off: Encryption is disabled for this database unless the Data Encryption cluster setting is force (Clusters > Keystore).
Backup encryption key Determines which Key Encryption Key (KEK) will be used for the database backup.
  • cluster-key: Use the cluster data KEK for backup encryption.
  • database-key: Use the database KEK for backup encryption.

With encryption enabled, files are encrypted as they are ingested into the database, or when those files are written back to disk. If you want to encrypt existing data in a database either reindex the database or force a merge on the database. This will take a few minutes depending on the size of database. See Cluster Encryption Options

Note: Large binary files are only encrypted during initial ingestion into the database. If you want to encrypt existing large binary files already loaded into MarkLogic Server prior to turning on encryption, you must reindex the database or force a merge.

  1. To configure database encryption, go to the Admin Interface and click Databases in the left navigation tree.

  2. Click on the database you want to encrypt.

  3. On the Database Configuration page, next to data encryption, select on from the drop-down menu. (The other options are default-cluster and off.)

  4. Click OK when you are done.

TitleResults for “How to create a CRG?”Also Available inAlert