Assign a classic cluster resource role to a group
You can assign a classic cluster resource role to a group to allow them to manage a specific classic cluster.
Required roles:
- Owner or a role that allows administering the environment AND
- One of the following: IamViewer or IamUser (required for listing users).
- In the Management Console navigate to the Classic Clusters dashboard.
- Click on the (context menu) next to the cluster that you want to update and select Manage Access.
- Find the group that you want to update and click on Update Roles.
- Select or deselect the roles and then click on Update Roles.
To assign a resource role to a group:
cdp iam assign-group-resource-role \
--group-name <value> \
--resource-role-crn <value> \
--resource-crn <value>
To remove a resource role from a group:
cdp iam unassign-group-resource-role \
--group-name <value> \
--resource-role-crn <value> \
--resource-crn <value>
- The resource-role-crn parameter requires the CRN of the resource role you want to assign to the group.
- The resource-crn parameter requires the CRN of the resource on which you want to grant the resource role permissions.
To get a list of the resource roles assigned to a group:
cdp iam list-group-assigned-resource-role \
--group-name <value>