Loading TOC...

MarkLogic 12 EA 1 Product Documentation
xdmp.keystoreValidateExported

xdmp.keystoreValidateExported(
   passphrase as String,
   filepath as String
) as Sequence

Summary

Validates the content of an exported keystore file, see keystore-export and keystore-import

Parameters
passphrase A passphrase used to decrypt the file content.
filepath A fully qualified file path on the host's filesystem.

Example

xdmp.keystoreValidateExported("A hard to guess phrase", "/backups/MarkLogic.wallet.bak")
=> {"id":"255fe6ca-8b01-4130-8a40-e3af617e1404", 
    "id":"67b92a6f-7b12-4a6c-aa01-1cc9f77ffc62", 
    "id":"d8c9796f-90ad-43ef-9d21-08ce26f7e23d"}

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