ccloud api-key list

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