MarkLogic Server 11.0 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"}
Powered by MarkLogic Server | Terms of Use | Privacy Policy