confluent login

Description

Log in to Confluent Cloud using your email and password, or non-interactively using the CONFLUENT_CLOUD_EMAIL and CONFLUENT_CLOUD_PASSWORD environment variables.

You can log in to a specific Confluent Cloud organization using the --organization-id flag, or by setting the environment variable CONFLUENT_CLOUD_ORGANIZATION_ID.

You can log in to Confluent Platform with your username and password, or non-interactively using CONFLUENT_PLATFORM_USERNAME, CONFLUENT_PLATFORM_PASSWORD, CONFLUENT_PLATFORM_MDS_URL, and CONFLUENT_PLATFORM_CA_CERT_PATH.In a non-interactive login, CONFLUENT_PLATFORM_MDS_URL replaces the --url flag, and CONFLUENT_PLATFORM_CA_CERT_PATH replaces the --ca-cert-path flag.

Even with the environment variables set, you can force an interactive login using the --prompt flag.

confluent login [flags]

Flags

--url string               Metadata Service (MDS) URL for on-prem deployments.
--ca-cert-path string      Self-signed certificate chain in PEM format.
--no-browser               Do not open a browser window when authenticating via Single Sign-On (SSO).
--organization-id string   The Confluent Cloud organization to log in to. If empty, log in to the default organization.
--prompt                   Bypass non-interactive login and prompt for login credentials.
--save                     Save username and encrypted password (non-SSO credentials) to the configuration file in your $HOME directory, and to macOS keychain if applicable. You will be automatically logged back in when your token expires, after one hour for Confluent Cloud or after six hours for Confluent Platform.

Global Flags

-h, --help            Show help for this command.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

See Also