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

What does the password file for the lscm login option --password-file have to look like?

I can't find any documentation on this.

I tried just writing the PW into the file. That gives me a decoding error because of a `$` character in the PW.

I tried generating a password file as described here. That also resulted in a decoding error.

I then tried only using the PW string from aforementioned file. That didn't work either.

I saw that the decoding error came from Base64.decode() so I tried to encode the PW in Base64. That also didn't work.

0 votes


Accepted answer

Permanent link
-You would use 'scm login --generatePasswordFile <path_to_file>' to first generate the password file.
-Then once generated, this file can be re-used at any time using 'scm login --password-file <path_to_file>'.

This password file is encrypted, and thus we do not allow users to create it by 'hand' (which would defeat the purpose of encoding it in the first place).


Balz Guenat selected this answer as the correct answer

1 vote

Comments

Thank you! Your second link seems broken but I found the documentation of the --generatePasswordFile option here. I guess I just looked at the documentation of the wrong version. (Maybe a prominent hint in outdated documentation would be a good idea.)

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
× 12,120
× 1,381
× 1,207
× 159
× 30

Question asked: Oct 10 '18, 9:26 a.m.

Question was seen: 5,149 times

Last updated: Oct 23 '18, 4:17 p.m.

Confirmation Cancel Confirm