Loading TOC...

MarkLogic 10 Product Documentation
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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.