Loading TOC...

MarkLogic 12 EA 1 Product Documentation
xdmp.filesystemFileEncryptionStatus

xdmp.filesystemFileEncryptionStatus(
   pathname as String
) as ObjectNode?

Summary

Return the encryption status of a file. Returns empty sequence if there is no file.

Parameters
pathname Pathname of the file.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-filesystem-file

Example

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"
 }

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