MarkLogic Server 11.0 Product Documentation
admin.clusterSetKeystoreLogsEncryptionPassphrase

admin.clusterSetKeystoreLogsEncryptionPassphrase(
   config as element(configuration),
   passphrase as String
) as element(configuration)

Summary

MarkLogic supports encrypting the logs with a secondary encryption passphrase, this function can be used to set the passphrase. Note that log encryption must be enabled for this passphrase to be used.

Parameters
config A configuration specification, typically as returned from one of the Admin module functions.
passphrase A passphrase to use when encrypting the logs

Example


const admin = require('/MarkLogic/admin.xqy');
const config = admin.getConfiguration();

admin.clusterSetKeystoreLogsEncryptionPassphrase(config, passphrase);

// Returns the new configuration element -- use admin.saveConfiguration to save
// the changes to the configuration or pass the configuration to other Admin API
// functions to make other changes.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy