Hide password for scm login with tomcat
We have build scripts (sh) that call scm.exe.
How do I avoid having the password flashed in plain text in all my scripts?
We're running RTC 3.0.1 on Tomcat.
|
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| answered Aug 13 '12, 5:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Anders,
I have seen some discussions around this and this post https://jazz.net/forum/questions/74823/how-to-pass-an-encrypted-password-file-to-scm-cli contains an answer, where I collected posts that discussed this. <quote>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 it for 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.</quote> Anders Truelsen selected this answer as the correct answer
Comments
Anders Truelsen
commented Aug 13 '12, 5:45 a.m.
Cheers Ralph I'll take a look at it and let you know how it works :-) regards /anders |
One other answer
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.