login

Description

Login to CDP interactively.

Synopsis

cdp login [--account-id account-id] [--identity-provider identity-provider-name]

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.

Examples

To login interactively:

$ cdp login --account-id <guid>