CmdID

CmdID / Commands

ibmcloud-login

Log in to the IBM Cloud. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Log in by using an interactive prompt

ibmcloud loginIdentify

Log in to a specific API endpoint (default is cloud.ibm.com)

ibmcloud login -a api_endpointIdentify

Log in by providing username, password, and the targeted region as parameters

ibmcloud login -u username -p password -r us-southIdentify

Log in with an API key, passing it as an argument

ibmcloud login --apikey api_key_stringIdentify

Log in with an API key, passing it as a file

ibmcloud login --apikey @path/to/api_key_fileIdentify

Log in with a federated ID (single sign-on)

ibmcloud login --ssoIdentify