Hi All,
I keep fingers crossed that I am not completely wrong in here.
Situation, I would like to login to my ibmcloud and the cli in front of me looks like all forms of username/password might be recorded by an unknown third party.
/ # ibmcloud help login
EXAMPLE:
ibmcloud login
Omit username and password to login interactively, ibmcloud will prompt for both
ibmcloud login -u
name@example.com -p pa55woRD
Specify username and password as arguments
ibmcloud login -u
name@example.com -p "my password"
Use quotation marks (") around passwords that have spaces
ibmcloud login -u
name@example.com -p "\"password"\"
Use backslash (\) to escape quotation marks if they are used in the password
ibmcloud login --apikey A1B2C_31FWTSxE0zNr-Bvjx0-1kfDEsU7ai7Cg89b7nqp
Use an API key to log in
ibmcloud login --apikey @my_key_file
Use a key file to log in
IBMCLOUD_API_KEY=YOUR_API_KEY_VALUE ibmcloud login
If environment variable 'IBMCLOUD_API_KEY' is set, login with the API key value specified by it
ibmcloud login --sso
Request that ibmcloud provide a URL to obtain a one-time password to log in
What sounds better in this case, go with an apikey that gets deleted after usage or sso?
one-time password means the next guy, who works with the terminal needs to request is own one-time password, right?
It also means that the unknown third party were not able to login with my one-time password as it is not valid anymore, right?
------------------------------
Matthias Jungbauer
------------------------------