List service account roles
bycloud iam service-accounts-roles list --service_account_id <service_account_id> [flags]List all roles assigned to 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-roles list \--service_account_id "abc-123"
Output
ID CRN NAME DESCRIPTION TRUST_POLICY.PRINCIPALS550e8400-e29b-41d4-a716-446655 crn::iam:role:550e8400-e29b-41 S3ReadOnly Read-only access to S3 buckets crn:spo1:compute:instance:*550e8400-e29b-41d4-a716-446655 crn::iam:role:550e8400-e29b-41 S3ReadOnly Read-only access to S3 buckets crn:spo1:compute:instance:*