confluent api-key list

Description

List the API keys.

confluent api-key list [flags]

Flags

    --resource string          The ID of the resource the API key is for. Use "cloud" for a Cloud API key, or "flink" for a Flink API key.
    --current-user             Show only API keys belonging to current user.
    --environment string       Environment ID.
    --service-account string   Service account ID.
-o, --output string            Specify the output format as "human", "json", or "yaml". (default "human")

Global Flags

-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-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 “sa-123456” on cluster “lkc-123456”.

confluent api-key list --resource lkc-123456 --service-account sa-123456

See Also