MarkLogic 9 Product Documentation
admin.clusterSetKeystoreKmipKeyPath

admin.clusterSetKeystoreKmipKeyPath(
   config as element(configuration),
   value as String
) as element(configuration)

Summary

This function updates the path to the PEM encoded private key. Each host must have a copy of the private key or their own at the path indicated here.

Parameters
config A configuration specification, typically as returned from one of the Admin module functions.
value A path to a PEM encoded private key

Example


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

admin.clusterSetKeystoreKmipKeyPath(config, '/space/pems/kmip-key.pem');

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