esacli generateClientKey
Use the esacli generateClientKey command to generate client key for the specified ESA-client or primary system.
Synopsis
esacli generateClientKey {[-i]} {system id}
Description
The esacli generateClientKey command allows you to generate client key for the specified ESA-client or primary system.
Options
- -f | --force
- Forces ESA to generate client key.
- -i | --id
- Generates client key for the specified ESA-client. Note: If -i | --id option is not specified, ESA generates client key for the primary system.
Exit status
The esacli generateClientKey command returns the following codes.0
: The operation completed successfully.1
: IBM® Electronic Service Agent instance is not running.10
: Unsupported option was specified. Option: {option}.14
: A required option was not provided. Option: {option}.18
: An option was set more than once. Option: {option}.19
: An option value was not provided when required. Option: {option}.
Examples
This example illustrates running the esacli generateClientKey
command.
esacli generateClientKey
1b7bf67bfbcdd52448df773824e7feee
esacli generateClientKey -i systemId
f673da94949907466a9a866be8e473da