Storing an encoded password to a file

0 Likes
over 4 years ago

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.

examples...

-p "user:passwrod@host:port/projectname/viewname"

-p "user@host:port/projectname/viewname" -epwdfile "pathToFile"

-s "user:password@host:port"

-s "user@host:port" -epwdfile "pathToFile"

Labels:

How To-Best Practice
Comment List
Anonymous
Related Discussions
Recommended