Skip to content

ezgh iam policies attach

Attach a policy to a user, bot or group.

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

Attach one policy to a user, bot or group, leaving its other policies alone. Attaching one that’s already attached changes nothing; detaching one that isn’t is an error.

Part of ezgh iam policies.

Examples

ezgh iam policies attach ReadOnlyAccess --bot deployer

Flags

Flag Type Default Description
--bot string a bot, by ID, slug or name
--group string a group, by ID, slug or name
--user string a user, by ID or email

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close