ccloud api-key list

Attention

The Confluent Cloud CLI is deprecated and will stop working on May 9, 2022. All ccloud features have been moved to the Confluent CLI. To update to the new CLI, run ccloud update –major. See the Migrate to Confluent CLI v2 for more details.

Description

List the API keys.

ccloud api-key list [flags]

Flags

    --resource string          The resource ID to filter by. Use "cloud" to show only Cloud API keys.
    --current-user             Show only API keys belonging to current user.
    --service-account string   The service account ID to filter by.
-o, --output string            Specify the output format as "human", "json", or "yaml". (default "human")

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).

Examples

List the API keys that belong to service account with resource ID sa-lqv3mm on cluster lkc-xyz

ccloud api-key list --resource lkc-xyz --service-account sa-lqv3mm

See Also