Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



4 answers

Permanent link
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.

3 votes


Permanent link
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.

0 votes


Permanent link
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.

0 votes


Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 05 '10, 12:35 a.m.

Question was seen: 9,822 times

Last updated: Jul 05 '10, 12:35 a.m.

Confirmation Cancel Confirm