Help Center/ Ubiquitous Cloud Native Service/ API Reference/ Permissions and Supported Actions/ Actions Supported by Role/Policy-based Authorization (Old IAM Version)
Updated on 2026-01-27 GMT+08:00

Actions Supported by Role/Policy-based Authorization (Old IAM Version)

This section describes the actions supported by UCS in role/policy-based authorization.

Supported Actions

UCS provides system-defined policies that can be directly used in IAM. You can also create custom policies to supplement system-defined policies for more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:

  • Permissions: statements in a policy that allow or deny certain operations
  • APIs: REST APIs that can be called by a user who has been granted specific permissions.
  • Actions: specific operations that are allowed or denied in a custom policy
  • Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.
  • IAM projects/Enterprise projects: the authorization scope of a custom policy. A custom policy can be applied to IAM projects or enterprise projects or both. Policies that contain actions for both IAM and enterprise projects can be used and applied for both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be used and applied to IAM only. For details about the differences between IAM and enterprise management, see What Are the Differences Between IAM and Enterprise Management?

√: supported; x: not supported

Huawei Cloud UCS supports the following actions in custom policies:

Table 1 UCS cluster actions

Permission

API

Action

IAM Project

Enterprise Project

Obtaining the cluster list

GET /v1/clusters

ucs:clusters:list

x

Obtaining a cluster

GET /v1/clusters/{clusterid}

ucs:clusters:get

x

Registering a cluster

POST /v1/cluster

ucs:clusters:create

x

Updating a cluster

PUT /v1/clusters/{clusterid}

ucs:clusters:update

x

Deleting a cluster

DELETE /v1/clusters/{clusterid}

ucs:clusters:delete

x

Obtaining cluster access information

GET /v1/clusters/{clusterid}/accessinfo

ucs:clusters:create

x

Activating a cluster

PUT /v1/clusters/{clusterid}/activation

ucs:clusters:update

x

Associating a cluster with permission policies

PUT /v1/clusters/{clusterid}/associatedrules

ucs:clustergroups:update

x

Obtaining the CCE cluster list of a tenant

GET /v1/managedclusters

ucs:clusters:list

x

Table 2 Fleet actions

Permission

API

Action

IAM Project

Enterprise Project

Adding a cluster to a fleet

POST /v1/clusters/{clusterid}/join

ucs:clusters:update

x

Removing a cluster from a fleet

POST /v1/clusters/{clusterid}/unjoin

ucs:clusters:update

x

Creating a fleet

POST /v1/clustergroups

ucs:clustergroups:create

x

Deleting a fleet

DELETE /v1/clustergroups/{clustergroupid}

ucs:clustergroups:delete

x

Obtaining a fleet

GET /v1/clustergroups/{clustergroupid}

ucs:clustergroups:get

x

Adding clusters to a fleet

PUT /v1/clustergroups/{clustergroupid}/associatedclusters

ucs:clustergroups:update

x

Updating fleet description

PUT /v1/clustergroups/{clustergroupid}/description

ucs:clustergroups:update

x

Updating permission policies associated with a fleet

PUT /v1/clustergroups/{clustergroupid}/associatedrules

ucs:clustergroups:update

x

Updating the zone associated with the federation of a fleet

PUT /v1/clustergroups/{clustergroupid}/associatedzones

ucs:clustergroups:update

x

Obtaining the fleet list

GET /v1/clustergroups

ucs:clustergroups:list

x

Enabling cluster federation

POST /v1/clustergroups/{clustergroupid}/federations

ucs:clustergroups:create

x

Disabling cluster federation

DELETE /v1/clustergroups/{clustergroupid}/federations

ucs:clustergroups:delete

x

Querying federation enabling progress

GET /v1/clustergroups/{clustergroupid}/federations/progress

ucs:clustergroups:get

x

Creating a federation connection and downloading kubeconfig

POST /v1/clustergroups/{clustergroupid}/cert

ucs:clustergroups:get

x

Creating a federation connection

POST /v1/clustergroups/{clustergroupid}/connection

ucs:clustergroups:get

x

Downloading federation kubeconfig

POST /v1/clustergroups/{clustergroupid}/kubeconfig

ucs:clustergroups:get

x

Table 3 Permissions management actions

Permission

API

Action

IAM Project

Enterprise Project

Creating a permission policy

POST /v1/permissions/rules

ucs:permissionsRules:create

x

Obtaining the permission policy list

GET /v1/permissions/rules

ucs:permissionsRules:list

x

Deleting a permission policy

DELETE /v1/permissions/rules/{ruleid}

ucs:permissionsRules:delete

x

Updating a permission policy

PUT /v1/permissions/rules/{ruleid}

ucs:permissionsRules:update

x