Skip to content

ezgh iam policies attach

Attach a policy to a user, bot or group, or an EZGH SSO user or group.

Updated View as Markdown
ezgh iam policies attach <policy> (--user u | --bot b | --group g | --sso-user u | --sso-group g) [flags]

Attach one policy to a user, bot or group, leaving its other policies alone. What it allows applies at once, to the group’s members too. Attaching one that’s already attached changes nothing.

--sso-user and --sso-group attach it to an EZGH SSO directory user or group instead, for what they do in EZGH products they sign in to, such as the console. What a directory principal may do is capped by the directory ceiling: only directory-usable products’ actions apply, and a policy that grants nothing under it is refused.

Part of ezgh iam policies.

Examples

ezgh iam policies attach ReadOnlyAccess --bot deployer
ezgh iam policies attach console-users --sso-group engineering

Flags

Flag Type Default Description
--bot string a bot, by ID, slug or name
--group string a group, by ID, slug or name
--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
--user string a user, by ID or email

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close