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 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).
--prompt                Bypass non-interactive login and prompt for login credentials.
--save                  Save login credentials or SSO refresh token to the .netrc file in your $HOME directory.

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