MarkLogic 12 EA 1 Product Documentation
xdmp.databaseEncryptionKeyId

xdmp.databaseEncryptionKeyId(
   database-id as (Number|String)
) as String

Summary

Returns the encryption key ID for the database identified by database-id

Parameters
database-id The ID of the database.

Example

xdmp.databaseEncryptionKeyId(xdmp.database("Documents"));
==> 4ba7bc6a-dbd6-4d5f-b573-f874c72c0c79
(: returns the encryption key ID:)
Powered by MarkLogic Server | Terms of Use | Privacy Policy