List STS sessions
bycloud iam sts-sessions list [flags]List active and recent STS (role assumption) sessions for the current organization. Requires `iam:ListSTSSessions` permission.
Options
--active_only
booleanoptionalOnly show active (non-expired, non-revoked) sessions
Default: true
--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"
--principal_id
stringoptionalFilter by principal ID (user or service account)
--principal_type
stringoptionalFilter by principal type
Values: "user", "service_account"
--role_id
stringoptionalFilter by role ID
Command
bycloud iam sts-sessions list
Output
ID ORGANIZATION_ID ROLE_ID ROLE_NAME PRINCIPAL_ID550e8400-e29b-41d4-a716-446655 550e8400-e29b-41d4-a716-446655 550e8400-e29b-41d4-a716-446655 string 550e8400-e29b-41d4-a716-446655550e8400-e29b-41d4-a716-446655 550e8400-e29b-41d4-a716-446655 550e8400-e29b-41d4-a716-446655 string 550e8400-e29b-41d4-a716-446655