confluent login


Log in to Confluent Platform.

Starting in the 1.24.0 release, you can log in to Confluent Platform non-interactively using the following environment variables: CONFLUENT_USERNAME, CONFLUENT_PASSWORD, CONFLUENT_MDS_URL, CONFLUENT_CA_CERT_PATH

In a non-interactive login, CONFLUENT_MDS_URL replaces the --url flag, and CONFLUENT_CA_CERT_PATH replaces the --ca-cert-path flag.

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

This command is required for RBAC.

confluent login [flags]


--url string            Metadata service URL. Must set flag or CONFLUENT_MDS_URL.
--ca-cert-path string   Self-signed certificate chain in PEM format.
--no-browser            Do not open browser when authenticating via Single Sign-On.
--prompt                Bypass non-interactive login and prompt for login credentials.
--save                  Save login credentials or refresh token (in the case of SSO) to local netrc file.

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