ByCloud Docs
GuidesCLIAPISDK

List policies

bycloud iam policies list [flags]

List all policies in the current organization

Options

--limit

integeroptional

Maximum number of items to return

Default: 20

--marker

stringoptional

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

--name

stringoptional

Filter by name (exact match or prefix with *)

--output

(-o)

stringoptional

Output format: text, json, or yaml

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

Default: "text"

Command

bycloud iam policies list

Output

ID CRN NAME DESCRIPTION DOCUMENT.VERSION
550e8400-e29b-41d4-a716-446655 crn::iam:policy:550e8400-e29b- S3BucketAccess Allow read/write access to spe 2024-01-01
550e8400-e29b-41d4-a716-446655 crn::iam:policy:550e8400-e29b- S3BucketAccess Allow read/write access to spe 2024-01-01