Skip to main content

Securing MarkLogic Server

Saving the Embedded KMS to a Different Location

Use the options available in admin:cluster-set-keystore-wallet-location to change the location of the backup for the internal wallet.

let $dir-name := "/sotfhsm/wallet"
let $config := admin:get-configuration()
return 
  admin:cluster-set-keystore-wallet-location($config,$dir-name)

The admin:cluster-set-keystore-wallet-location function will set the backup location for embedded KMS.