How to pass an encrypted password file to SCM cli
One answer
See:
https://jazz.net/forums/viewtopic.php?t=12096
https://jazz.net/forums/viewtopic.php?t=20364
https://jazz.net/forums/viewtopic.php?t=6613
for more details and try out the advanced search to find more information.
Comments
So did anybody find a solution to this. The links mentioned above did not help me.
Steps:
--ran scm login with --cache
--now how/what do I pass to the -P option in the cmd. below
scm list projectareas -r <repo> -u <userlogin> -P (what?)
Do I create a password file using the jbe createPasswordFile cmd? And use that file?
If so, I tried and it did not work.
Or, do I use the repositories.txt file somehow? If yes, how?
Or is there something else altogether?
What am I missing?
Thanks in advance!
Hi Ralph, I think what we are looking for is described best in this post:
https://jazz.net/forum/questions/115922/rtc-command-line-interface-password-encryption
We want to be able to pass scm an encrypted password file the same way we do for jbe. It appears there is currently no way to call scm login without either interactively giving it your password or using the -P option in a script context. It looks like the -c option and the repositories.txt file make it so you don't have to login repeatedly until you logout but that isn't the same as avoiding putting in an unencrypted password in the first place. Is there a WI for this feature yet?
Thanks,
Alexa