HashiCorp Cloud Platform
hcp iam groups iam
Command: hcp iam groups iam
The hcp iam groups iam
command group lets you manage a group's IAM Policy.
Usage
$ hcp iam groups iam <command> [Optional Flags]
Examples
To set a member as a group manager, you can use the add-binding
subcommand
with the roles/iam.group-manager
role:
$ hcp iam groups iam add-binding \
--group=Group-Name \
--member=ef938a22-09cf-4be9-b4d0-1f4587f80f53 \
--role=roles/iam.group-manager
Commands
add-binding
- Add an IAM policy binding for a group.delete-binding
- Delete an IAM policy binding for a group.read-policy
- Read the IAM policy for a group.set-policy
- Set the IAM policy for a group.