Help Center/ VPC Endpoint/ API Reference/ Permissions and Supported Actions/ Actions Supported by Policy-based Authorization
Updated on 2025-11-10 GMT+08:00

Actions Supported by Policy-based Authorization

This section describes the actions supported by VPC Endpoint in policy-based authorization.

Supported Actions

VPC Endpoint 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
  • Dependent actions: actions which a specific action depends on. When allowing an action for a user, you also need to allow its dependent actions 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. Administrators can check whether an action supports IAM projects or enterprise projects in the action list. For details about the differences between IAM and enterprise management, see What Are the Differences Between IAM and Enterprise Management?

VPCEP supports the following actions in custom policies:

  • VPC Endpoint Service actions, including all of the actions supported by VPC endpoint service APIs, such as the API for creating a VPC endpoint service.
  • VPC Endpoint actions, including all of the actions supported by VPC endpoint APIs, such as the API for creating a VPC endpoint.
  • Resource Quota actions, including all of the actions for querying VPCEP quotas.
  • Tag actions, including all of the actions supported by all tag management APIs, such as the API for querying resource tags.

VPC Endpoint Service

Table 1 VPC endpoint services

Permission

API

Action

Dependent Actions

IAM Project

Enterprise Project

Creating a VPC endpoint service

POST /v1/{project_id}/vpc-endpoint-services

vpcep:epservices:create

vpc:vpcs:get

vpc:vpcs:list

elb:loadbalancers:list

elb:loadbalancers:get

ecs:servers:list

ecs:servers:get

bms:servers:list

bms:servers:get

Supported

Not supported

Querying VPC endpoint services

GET /v1/{project_id}/vpc-endpoint-services

vpcep:epservices:list

-

Supported

Not supported

Querying details about a VPC endpoint service

GET /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}

vpcep:epservices:get

-

Supported

Not supported

Modifying a VPC endpoint service

PUT /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}

vpcep:epservices:update

-

Supported

Not supported

Deleting a VPC endpoint service

DELETE /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}

vpcep:epservices:delete

-

Supported

Not supported

Querying connections of a VPC endpoint service

GET /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}/connections

vpcep:connections:list

-

Supported

Not supported

Accepting or rejecting a VPC endpoint

POST /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}/connections/action

vpcep:connections:update

-

Supported

Not supported

Querying whitelist records of a VPC endpoint service

GET /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}/permissions

vpcep:permissions:list

-

Supported

Not supported

Batch adding or deleting whitelist records of a VPC endpoint service

POST /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}/permissions/action

vpcep:permissions:update

-

Supported

Not supported

VPC Endpoint

Table 2 VPC endpoints

Permission

API

Action

Dependent Actions

IAM Project

Enterprise Project

Querying public VPC endpoint services

GET /v1/{project_id}/vpc-endpoint-services/public

vpcep:pubEpservices:list

vpc:vpcs:get

vpc:vpcs:list

vpc:subnets:get

Supported

Not supported

Querying basic information about a VPC endpoint service

GET /v1/{project_id}/vpc-endpoint-services/describe

vpcep:epserviceDesc:get

-

Supported

Not supported

Creating a VPC endpoint

POST /{project_id}/vpc-endpoints

vpcep:endpoints:create

-

Supported

Not supported

Querying VPC endpoints

GET /{project_id}/vpc-endpoints

vpcep:endpoints:list

-

Supported

Not supported

Querying details about a VPC endpoint

GET /v1/{project_id}/vpc-endpoints/{vpc_endpoint_id}

vpcep:endpoints:get

-

Supported

Not supported

Deleting a VPC endpoint

DELETE /v1/{project_id}/vpc-endpoints/{vpc_endpoint_id}

vpcep:endpoints:delete

-

Supported

Not supported

Modifying route tables of a VPC endpoint

PUT /v1/{project_id}/vpc-endpoints/{vpc_endpoint_id}/routetables

vpcep:epRouters:update

-

Supported

Not supported

Resource Quota

Table 3 Resource quotas

Permission

API

Action

Dependent Actions

IAM Project

Enterprise Project

Querying quotas

GET /v1/{project_id}/quotas

vpcep:quotas:get

-

Supported

Not supported

Tag

Table 4 Tags

Permission

API

Action

Dependent Actions

IAM Project

Enterprise Project

Querying VPCEP resources by tag

POST /v1/{project_id}/{resource_type}/resource_instances/action

vpcep:resource:list

-

Supported

Not supported

Adding or deleting a resource tag

POST /v1/{project_id}/{resource_type}/{resource_id}/tags/action

vpcep:tags:update

-

Supported

Not supported

Querying tags of a tenant's resource

GET /v1/{project_id}/{resource_type}/tags

vpcep:tags:list

-

Supported

Not supported