Volcengine Kubernetes Engine
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | GrantPermission | The API name. The API name is GrantPermission . |
Version | String | Yes | 2022-05-12 | The API version. The current version of the API is 2022-05-12. |
RoleDomain | String | no | cluster | The permission type granted to an IAM user or role:
|
ClusterId | String | no | ccog93v******* | The cluster ID that an IAM user or role can access. Cluster IDs can be obtained by calling the ListClusters API. Warning This parameter is required if the roleDomain is set to namespace or cluster . |
Namespace | String | no | default | The namespace that an IAM user or role can access. You can log in to the VKE console to view namespace names. Warning
|
RoleName | String | no | vke:admin | The name of RBAC role that can be granted. The available RBAC permissions include:
Warning
|
IsCustomRole | Boolean | no | false | Whether it is a custom RBAC role:
|
GranteeId | Long | no | 153****** | |
GranteeType | String | no | User | The types of targets to be authorized:
|
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
Id | String | ap******** | The ID of the RBAC policy. It will be wise to keep a copy of the ID for later use, e.g., making queries or changes to RBAC access policies. |