Getting authentication tokens

You can view or generate the authentication token for an IBM® Content Search Services server.

You must specify the authentication token when you register a Content Search Services server with Content Platform Engine. The server rejects search or index requests from a Content Platform Engine server that does not include the expected token.

Viewing authentication tokens

Procedure

To view the authentication token:

configTool printToken [-configPath path] [-locale setting]

Generating authentication tokens

Procedure

To generate a new authentication token:

  1. Generate the token with a seed:
    configTool generateToken -seed abcd [-configPath path] [-locale setting]

    This command specifies an arbitrary seed string abcd that is used to generate an encrypted token for communication with the server. Specifying the same abcd string each time that you run the command does not ensure that the same token will be generated.

  2. Access the properties for the server in the administration console:
    1. In the domain navigation pane, click the Text Search Servers folder.
    2. In the details pane, click the name of the IBM Content Search Services server.
    3. Click the General tab.
  3. In the Authentication token field, enter the newly generated token value.