hcp iam groups members add
Command: hcp iam groups members add
The hcp iam groups members add
command adds members to a group.
All added members will inherit any roles that have been granted to the group.
Usage
Examples
Add members to the "platform-team":
Flags
-g, --group=NAME
- The name of the group to add a member to. The name may be specified as either:- The group's resource name. Formatted as
iam/organization/ORG_ID/group/GROUP_NAME
- The resource name suffix,
GROUP_NAME
.
- The group's resource name. Formatted as
-m, --member=ID [Repeatable]
- The ID of the user principal to add to the group.