server task sms key show

Lists detailed information about the current session management key.

Syntax

server task server_namehost_name sms key show

Options

server_namehost_name
Specifies the name of the server or server instance. You must specify the server name in the exact format as it is shown in the output of the server list command.

For example, if the configured name of a single WebSEAL server on host example.dallas.ibm.com is default, the server_name would be default-webseald and the host_name would be example.dallas.ibm.com. For this example, the name of the server would be default-webseald-example.dallas.ibm.com.

If multiple server instances are configured on the same machine, for example:
  • The host is cruz.dallas.ibm.com.
  • The configured name of the WebSEAL server instance is webseal2-webseald.
Then,
  • The server_name would be webseal2-webseald.
  • The host_name would be example.dallas.ibm.com.
  • The name of the server instance would be webseal2-webseald-example.dallas.ibm.com.

Return codes

0
The command completed successfully.
1
The command failed. When a command fails, the pdadmin command provides a description of the error and an error status code in hexadecimal format (for example, 0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the Security Access Manager error messages by decimal or hexadecimal codes.
Note: This command is available only when the session management command-line extensions are installed to a hosting authorization server.

Example

The following example returns detailed information about the current session management key for the abc.ibm.com server:
pdadmin> server task default-webseald-abc.ibm.com sms key show
Output is like:
ID: 1
Created: 2004-03-03-09:00:03
Expires: 2004-09-03-09:00:03

See also