login¶
Description¶
Login to CDP interactively.
Synopsis¶
cdp login [--account-id account-id] [--identity-provider identity-provider-name] [--use-device-code]
Options¶
--account-id
(string)
The account-id of the tenant to login. This is a required parameter. ‘cdp configure set account_id ‘ could be used to set the default account-id to be used if this parameter is not provided.
--identity-provider
(string)
The name or CRN of IdP which will be used to authenticate users. The default IdP will be used if not provided.
--use-device-code
(boolean)
Use CDP’s authentication flow based on the device code. Use this to authorize the device if it can’t launch a browser, e.g. in remote SSH.