Loading TOC...

MarkLogic 12 EA 1 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 qualified file path on the host's 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.