CONFLUENT CLOUD CLI
Log in to Confluent Cloud.
ccloud login [flags]
Starting in the 1.20.1 release, you can log in to Confluent Cloud non-interactively using the CCLOUD_EMAIL and CCLOUD_PASSWORD environment variables.
CCLOUD_EMAIL
CCLOUD_PASSWORD
For example:
export CCLOUD_EMAIL=myemail@company.com export CCLOUD_PASSWORD=mypassword ccloud login
Even with the above environment variables set, you can force an interactive login using the --prompt flag.
--prompt
If the following variables are set, ccloud login will not prompt you to enter the user name and the password.
ccloud login
CCLOUD_EMAIL The email address of the user logging in. CCLOUD_PASSWORD The password of the user logging in.
--url string Confluent Cloud service URL. (default "https://confluent.cloud") --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 for login credentials.
-h, --help Show help for this command. -v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).