ByCloud Docs
GuidesCLIAPISDK

List group service accounts

bycloud iam groups-service-accounts list --group_id <group_id> [flags]

List all service accounts in a group

Options

--group_id

stringrequired

Group ID

--limit

integeroptional

Maximum number of items to return

Default: 20

--marker

stringoptional

ID of the last item from the previous page (for pagination)

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Command

bycloud iam groups-service-accounts list \
--group_id "abc-123"

Output

ID CRN NAME DISPLAY_NAME ADDED_AT
550e8400-e29b-41d4-a716-446655 crn::iam:service-account:550e8 string string 2024-01-15T10:30:00Z
550e8400-e29b-41d4-a716-446655 crn::iam:service-account:550e8 string string 2024-01-15T10:30:00Z