Loading TOC...

MarkLogic 9 Product Documentation
xdmp:keystore-export

xdmp:keystore-export(
   $passphrase as xs:string,
   $filepath as xs:string
) as xs: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 quialified file path on the host filesystem.

Example

xdmp:keystore-export("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.