encrypt CLI command
Use the encrypt command to create an encrypted password that can be used with any other CLI command. When using an encrypted password in a command, use -ep instead of -p before the password.
Syntax
encrypt <PlainTextPassword> -ssl
Parameters
- <PlainTextPassword>
-
(Required.) The plain text password that should be encrypted.
- -ssl
- Required if SSL (HTTPS) is enabled.
Example command
encrypt PlainTextPassword
Example output
0aR6IcjT
Example: Using the encrypted password
In the following example, the encrypted password (0aR6IcjT
) is
being used with the -ep
parameter to run the viewLogicalLibraries command.
C:\IBM\Anaconda\CLI>java -jar TS4500CLI.jar -ip 9.22.95.48 -u Dev -ep 0aR6IcjT --viewLogicalLibraries
C:\IBM\Anaconda\CLI>java -jar DiamondbackCLI.jar -ip 9.22.95.48 -u Dev -ep 0aR6IcjT --viewLogicalLibraries