
xdmp:keystore-validate-exported( $passphrase as xs:string, $filepath as xs:string ) as element(keystore-export)
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. |
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: Get the most useful answers to questions from the MarkLogic community, or ask your own question.