About credential file for repotools
![]()
According to help, some repotools command such as "repotools -exportUsers" "repotools -suspendIndexer" use "credentialsFile".
repotools help shows: --The file containing the admin user's login credentials. What is this file? How can I make this file? I found similar question in this forum but there was no answer. http://jazz.net/forums/viewtopic.php?t=10758&highlight=credentials+properties Now I'm looking for the way to mask adminPassword when running repotools command as scheduled task (using bat file). I think that credentialsFile may be resolution of this. |
4 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jul 12 '10, 8:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
I was curious and tried it out. Create a file e.g. credentials.txt with content
then you can use it with repotools. The password is not encrypted. Ralph Hi Tayaka, According to help, some repotools command such as "repotools -exportUsers" "repotools -suspendIndexer" use "credentialsFile". |
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jul 06 '10, 2:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Tayaka,
I have tried to find documentation but was not successful either. My suggestion would be to create an enhancement request against RTC Documentation. Ralph According to help, some repotools command such as "repotools -exportUsers" "repotools -suspendIndexer" use "credentialsFile". |
![]()
Hi, Ralph
Thank you for your help. >Create a file e.g. credentials.txt with content
I tried it, it works fine, thank you! Is there any way to encrypt password ? I would like to automate some repotools command, so password encryption is needed. |
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jul 15 '10, 1:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Tayaka,
I tried using the encryption from jbe -createPasswordFile to encrypt the password but didn't succeed. All other entries in the properties files are unencrypted. So, I think encryption is not supported. I think the best you can do is restrict read access to the file. Not sure how that will help you with automation since the user logging in would need read access. Please consider writing an enhancement request. Ralph Hi, Ralph |
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.