Storing an encoded password to a file
Use the store-password command to store the password in an encrypted file.
The syntax for this command is:
store-password –password “password” -epwdfile “passwordFilePath”
The password stored to the file is encoded using a two way algorithm which can be broken by a sufficiently determined hacker. If using this technique, it is recommended that the file itself be securely locked down on the file system.
The encrypted file may be used in conjunction with the command line -p or -s parameters.
If used, the credentials component userName:password@hostName:port should be replaced by userName@hostName:port, and a separate -epwfdile "pathToFile" parameter.
-p "user@host:port/projectname/viewname" -epwdfile "pathToFile"
-s "user@host:port" -epwdfile "pathToFile"