tklmConfigUpdateEntry

Use the tklmConfigUpdateEntry command to change an existing entry or to add an entry in the SKLMConfig.properties file.

Note: The IBM Security Key Lifecycle Manager command-line interface commands will be deprecated in the later versions of IBM Security Key Lifecycle Manager. Use the REST interfaces instead.

Purpose

Changes an existing entry or adds an entry in the SKLMConfig.properties file. Use the tklmDeviceGroupAttributeUpdate command to change an attribute of a device group in the IBM Security Key Lifecycle Manager database.
Note: If you use the graphical user interface, or command-line interface, you can change the IBM Security Key Lifecycle Manager configuration file while the server is running. Depending on the change, you might see a message that indicates you to restart the IBM Security Key Lifecycle Manager server for the change to take effect.

Permissions

Your role must have a permission to the configure action.

Syntax

tklmConfigUpdateEntry -name attributename -value attributevalue

Parameters

-name
Required. Specify the name of the attribute.
-value
Required. Specify the value of an attribute. Depending on the attribute, you can specify multiple values, by using commas to separate the values. For more information, see the SKLMConfig.properties file.

Examples

This Jython-formatted command example changes the types of events that are audited, specifying an Audit.event.types property to have two values (runtime and audit_management) in the SKLMConfig.properties file.

print AdminTask.tklmConfigUpdateEntry ('[-name Audit.event.types
 -value runtime,audit_management]')

This example specifies a different TCP port number.

print AdminTask.tklmConfigUpdateEntry 
	('[-name TransportListener.tcp.port -value 3802]')