Using 'scm login' command with -c option (cache pw)
Accepted answer
As Evan mentioned, the cached password lives in: ~/.jazz-scm/repositories.txt. The cached password is protected by filesystem permissions, and is obfuscated with a cryptographic algorithm
Also note that in RTC 6.0.3 a feature was added that lets you create an encrypted password file and later use that during the login (instead of manually having to type in the password and have it cached on disk). This feature was added in the following work item: Provide a way to login using CLI by specifying password encrypted file and not the password itself (295660)
Per the help documentation (https://www.ibm.com/support/knowledgecenter/SSCP65_6.0.5/com.ibm.team.scm.doc/topics/login.html) :
-You would use 'scm login --generatePasswordFile <path_to_file>' to first generate the password file.
-Then once generated, this file can be re-used at any time using 'scm login --password-file <path_to_file>'.
Note: This password file is encrypted, and thus we do not allow users to create it by 'hand' (which would defeat the purpose of encoding it in the first place).
One other answer
When using "scm login" command with -c option (cache the password on prompt), where is the password cached and is it encrypted?
The cached password lives in ~/.jazz-scm/repositories.txt.
The cached password is protected by filesystem permissions, and is obfuscated with a cryptographic algorithm.
e