List API keys
bycloud iam service-accounts-keys list --service_account_id <service_account_id> [flags]List all API keys for a service account
Options
--service_account_id
stringrequiredService Account ID
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Command
bycloud iam service-accounts-keys list \--service_account_id "abc-123"
Output
ID CRN NAME ACCESS_KEY_ID LAST_USED_AT550e8400-e29b-41d4-a716-446655 crn::iam:api-key:550e8400-e29b production-key AKIA550E8400E29B41D4 2024-01-15T10:30:00Z550e8400-e29b-41d4-a716-446655 crn::iam:api-key:550e8400-e29b production-key AKIA550E8400E29B41D4 2024-01-15T10:30:00Z