xdmp.keystoreExport

xdmp.keystoreExport(
   passphrase as String,
   filepath as String
) as Boolean

Summary

Exports all encryption keys stored in the MarkLogic embedded KMS.

Parameters
passphrase A passphrase used to encrypt the exported encryption keys.
filepath A fully qualified file path on the host's filesystem.

Example

xdmp.keystoreExport("A hard to guess phrase", "/backups/MarkLogic.wallet.bak")
=> true
Powered by MarkLogic Server | Terms of Use | Privacy Policy