xdmp.filesystemFileEncryptionStatus( pathname as String ) as ObjectNode?
Return the encryption status of a file. Returns empty sequence if there is no file.
Parameters | |
---|---|
pathname | Pathname of the file. |
http://marklogic.com/xdmp/privileges/xdmp-filesystem-file
xdmp.filesystemFileEncryptionStatus("/var/opt/MarkLogic/Forests/Documents/Label"); => { "pathname": "/var/opt/MarkLogic/Forests/Documents/Label" "encrypted": "true", "encryptionKeyId": "317085c9-5c65-4b08-b8bf-2ac5a5c0943e", "encryptionSize": "1920" }