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 deployerFlags
| 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.