confluent login
Description
Log in to Confluent Platform (required for RBAC).
confluent login [flags]
Starting in the 1.20.1 release, you can log in to Confluent Platform non-interactively using
the CONFLUENT_USERNAME and CONFLUENT_PASSWORD environment variables.
For example:
export CONFLUENT_USERNAME=myemail@company.com
export CONFLUENT_PASSWORD=mypassword
confluent login
Even with the above environment variables set, you can force an interactive
login using the --prompt flag.
Environment variables
If the following variables are set, confluent login will not prompt you to
enter the user name and the password.
CONFLUENT_USERNAME     The email address of the user logging in.
CONFLUENT_PASSWORD     The password of the user logging in.
Flags
--url string            REQUIRED: Metadata service URL.
--ca-cert-path string   Self-signed certificate chain in PEM format.
--no-browser            Do not open browser when authenticating via Single Sign-On.
--save                  Save login credentials or refresh token (in the case of SSO) to local netrc file.
--prompt                Bypass non-interactive login and prompt user for login credentials.
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
Confluent CLI Command Reference - Confluent CLI.