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