configureencryptionkey CLI command
Use this command to modify the default encryption key available with TrueSight IT Data Analytics.
TrueSight IT Data Analytics protects passwords provided while configuring an object on the UI by using a 16-bytes default encryption key.
As an administrator, you can use this command to change the default encryption key for enhancing security against unauthorized access.
The new encryption key set by using this command applies to passwords provided while creating (or updating) data collectors, collection profiles, credentials, and external configurations. The new key must be 16-bytes in size (or 16 characters in length).
While running this command, avoid creating or updating objects that require specifying a password.
To understand the syntax and examples, see:
Before you run the command, note the following points:
- Set up the CLI. For more information, see Managing the product from the command line interface.
- Prefix this command with the following, as appropriate:
- For Windows: itda.bat
- For Linux: ./itda.sh
- Angle brackets (< >) indicate a variable value that needs to be user defined.
- Square brackets ([ ]) indicate optional parameters.
The following table describes the parameters used in the syntax:
|Host name of the Console Server.
|Port number of the Console Server.
|User name to use to connect with the Console Server.
|Password corresponding to the user name to use to connect with the Console Server.
Name of the operation that you want to perform.
Based on the operation type, the value can be:
|View the current encryption key
Specify the value,
|Modify the encryption key
Specify the following value:
In the preceding syntax,
The key can include alphanumeric characters and special characters.
However, if you are using double quotes as a character in the encryption key (on Windows), make sure you escape the double quotes by placing a backward slash (\) in front of the double quotes.
Similarly, if you are using single quotes as a character in the encryption key (on Linux), you need to escape the single quotes by placing a backward slash (\) in front of the single quotes. Additionally, the backward slash also needs to be enclosed in single quotes.
(Optional) Indicates the locale in which you want to display messages when the command is run.
You can set one of the following locales:
By default, the messages are displayed in the locale of the system on which the CLI is run.
The value can be set to one of the following depending on the locale you choose:
Example: If you want to set the locale as Simplified Chinese, you need to specify,
|(Optional) Version of the IT Data Analytics product.
|(Optional) Indicates an HTTPS connection.
The following example provides the input for viewing the current encryption key.
The following example provides the input for modifying the encryption key.