Loading TOC...

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:)

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