Loading TOC...

xdmp:keystore-validate-exported

xdmp:keystore-validate-exported(
   $passphrase as xs:string,
   $filepath as xs:string
) as element(keystore-export)

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 quialified file path on the host filesystem.

Example

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

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.