HashiCorp Cloud Platform
hcp iam groups iam read-policy
Command: hcp iam groups iam read-policy
The hcp iam groups iam read-policy
command reads the IAM policy for a group.
Usage
$ hcp iam groups iam read-policy [Optional Flags]
Examples
Read the IAM Policy for a group:
$ hcp iam groups iam read-policy \
--group=iam/organization/cf8ef907-b9b9-4f2f-b675-e290448f0000/group/Group-Name
Flags
-g, --group=NAME
- The name of the group to read the IAM policy for. 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