List users with policy
bycloud iam policies-users list --policy_id <policy_id> [flags]List all users that have this policy attached
Options
--policy_id
stringrequiredPolicy ID
--limit
integeroptionalMaximum number of items to return
Default: 20
--marker
stringoptionalID of the last item from the previous page (for pagination)
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Command
bycloud iam policies-users list \--policy_id "abc-123"
Output
ID CRN EMAIL NAME GROUPS[0].ID550e8400-e29b-41d4-a716-446655 crn::iam:user:550e8400-e29b-41 john.doe@acme.com John Doe 550e8400-e29b-41d4-a716-446655550e8400-e29b-41d4-a716-446655 crn::iam:user:550e8400-e29b-41 john.doe@acme.com John Doe 550e8400-e29b-41d4-a716-446655