ezgh iam policies list [--type managed|custom] [--sso-user u | --sso-group g] [flags]List the policies you can attach, one page at a time (--all for every page): managed policies first, then the organization’s custom ones. --type keeps one kind.
--sso-user or --sso-group lists only the policies attached to that EZGH SSO directory user or group instead (a member’s, bot’s or IAM group’s are in its get). What a directory principal may do is capped by the directory ceiling: only directory-usable products’ actions apply to it.
Part of ezgh iam policies.
Examples
ezgh iam policies list --type custom
ezgh iam policies list --sso-group engineeringFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--all |
boolean | follow nextCursor through every page | |
--cursor |
string | start from this page (a previous page’s nextCursor) | |
--limit |
int | 20 |
items per page, 1 to 100 |
--sso-group |
string | an EZGH SSO directory group, by ID, slug or name | |
--sso-user |
string | an EZGH SSO directory user, by ID, email or slug | |
--type |
string | only managed or only custom policies |
This command also takes the global flags.