It's all about the answers!

Ask a question

About credential file for repotools


Tayaka Mizushima (622016) | asked Jul 05 '10, 12:35 a.m.
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



permanent link
Ralph Schoon (63.3k33646) | 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

adminUserId=your_userid
adminPassword=your_password


then you can use it with repotools. The password is not encrypted.

Ralph

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".

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.

permanent link
Ralph Schoon (63.3k33646) | 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".

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.

permanent link
Tayaka Mizushima (622016) | answered Jul 14 '10, 9:48 p.m.
Hi, Ralph

Thank you for your help.

>Create a file e.g. credentials.txt with content

adminUserId=your_userid
adminPassword=your_password


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.

permanent link
Ralph Schoon (63.3k33646) | 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

Thank you for your help.

>Create a file e.g. credentials.txt with content

adminUserId=your_userid
adminPassword=your_password


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.

Your answer


Register or to post 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.