tklmConfigGetEntry

Use the tklmConfigGetEntry command to return the current value or values of a property in the IBM Security Key Lifecycle Manager configuration 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

Gets the current value or values of a property in the SKLMConfig.properties file.

To discover which property names currently exist, use the tklmConfigList command. If the specified name does not exist in the property file, the command returns a message to indicate that the property name does not exist.

Permissions

Your role must have a permission to the configure action.

Syntax

tklmConfigGetEntry -name propertyname

Parameters

-name
Required. Specify the name of the property in the SKLMConfig.properties configuration file.

Examples

This Jython-formatted command obtains the current value of the Audit.event.typesproperty in the SKLMConfig.properties configuration file.

print AdminTask.tklmConfigGetEntry ('[-name Audit.event.types]')

This Jython-formatted command obtains the current value of the TransportListener.tcp.port property in the SKLMConfig.properties configuration file.

wsadmin>print AdminTask.tklmConfigGetEntry 
	('[-name TransportListener.tcp.port]')