How to pass an encrypted password file to SCM cli
Hi,
is there any way to pass to a scm command a password from an encrypted password file? In a way like we do with the jazz engine start. I'm working with scm 3.0.0 |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Apr 03 '12, 2:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
According to several posts, you can use the -c option and the file repositories.txt. I haven't tried. Apparently the daemon encrypts user and password and stores that in a file. You can keep the file and use itfor login, as far as I understand.
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
kanjbala jawahar
commented Jun 05 '13, 11:29 p.m.
So did anybody find a solution to this. The links mentioned above did not help me.
Alexa Nafke
commented Oct 24 '13, 5:37 p.m.
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 |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.