C
Confluent CLI
Details
- Command
-
confluent - Docs
- https://docs.confluent.io/confluent-cli/current/overview.html
Authentication
$ confluent login --save Create a Confluent Cloud API key for your user or service account in the Confluent Cloud Console API keys page or with the CLI as documented in the Confluent Cloud API reference using confluent api-key create / ccloud api-key create --resource cloud. Use the key ID as the HTTP Basic username and the secret as the password.
$ confluent login Configure OAuth/OIDC for a workload identity as described in OAuth 2.0 Authentication for Confluent Cloud APIs, then obtain a Confluent Security Token Service token following Authenticate access to Confluent Cloud APIs using Confluent STS tokens. Send the resulting token as a bearer token.