Help Center/ Cloud Container Instance (CCI)/ API Reference/ Permissions Policies and Supported Actions/ Actions Supported by Identity Policy-based Authorization
Updated on 2026-02-25 GMT+08:00

Actions Supported by Identity Policy-based Authorization

IAM provides system-defined identity policies to define typical cloud service permissions. You can also create custom identity policies using the actions supported by cloud services for more refined access control.

In addition to IAM, the Organizations service also provides Service Control Policies (SCPs) to set access control policies.

SCPs do not actually grant any permissions to an entity. They only set the permissions boundary for the entity. When SCPs are attached to an organizational unit (OU) or a member account, the SCPs do not directly grant permissions to that OU or member account. Instead, the SCPs only determine what permissions are available for that member account or those member accounts under that OU. The granted permissions can be applied only if they are allowed by the SCPs.

To learn more about how IAM is different from Organizations for access control, see How IAM Is Different from Organizations for Access Control?.

This section describes the elements used by IAM custom identity policies and Organizations SCPs. The elements include actions, resources, and conditions.

Actions

Actions are specific operations that are allowed or denied in an identity policy.

  • The Access Level column describes how the action is classified (List, Read, or Write). This classification helps you understand the level of access that an action grants when you use it in an identity policy.
  • The Resource Type column indicates whether the action supports resource-level permissions.
    • You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions and you must specify all resources ("*") in your identity policy statements.
    • If this column includes a resource type, you must specify the URN in the Resource element of your identity policy statements.
    • Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.

    For details about the resource types defined by CCI, see Resources.

  • The Condition Key column contains keys that you can specify in the Condition element of an identity policy statement.
    • If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
    • If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
    • If the Condition Key column is empty (-) for an action, the action does not support any condition keys.

    For details about the condition keys defined by CCI, see Conditions.

  • The Alias column lists the policy actions that are configured in identity policies. With these actions, you can use APIs for policy-based authorization. For details, see Policies and Identity Policies.

The following table lists the actions that you can define in identity policy statements for CCI.

Table 1 Actions supported by CCI

Action

Description

Access Level

Resource Type (*: required)

Condition Key

Alias

cci:namespace:list

Grants permission to query all namespaces.

List

namespace *

-

-

cci:namespace:create

Grants permission to create a namespace.

Write

namespace *

-

-

cci:namespace:get

Grants permission to query a namespace.

Read

namespace *

g:ResourceTag/<tag-key>

-

cci:namespace:delete

Grants permission to delete a namespace.

Write

namespace *

g:ResourceTag/<tag-key>

-

cci:network:list

Grants permission to query all networks.

List

network *

-

-

cci:network:create

Grants permission to create a network.

Write

network *

-

-

cci:network:get

Grants permission to query a network.

Read

network *

-

-

cci:network:delete

Grants permission to delete a network.

Write

network *

-

-

cci:network:update

Grants permission to update a network.

Write

network *

-

-

cci:configmap:list

Grants permission to query all ConfigMaps.

List

configmap *

-

-

cci:configmap:create

Grants permission to create a ConfigMap.

Write

configmap *

-

-

cci:configmap:get

Grants permission to query a ConfigMap.

Read

configmap *

-

-

cci:configmap:delete

Grants permission to delete a ConfigMap.

Write

configmap *

-

-

cci:configmap:update

Grants permission to update a ConfigMap.

Write

configmap *

-

-

cci:pod:list

Grants permission to query all pods.

List

pod *

-

-

cci:pod:create

Grants permission to create a pod.

Write

pod *

cci:AssociatePublicIp

-

cci:pod:get

Grants permission to query a pod.

Read

pod *

-

-

cci:pod:delete

Grants permission to delete a pod.

Write

pod *

-

-

cci:pod:update

Grants permission to update a pod.

Write

pod *

-

-

cci:pod:getLog

Grants permission to query pod logs.

Read

pod *

-

-

cci:pod:exec

Grants permission to run commands in the containers of a pod.

Write

pod *

cci:ContainerName

-

cci:secret:list

Grants permission to query all secrets.

List

secret *

-

-

cci:secret:create

Grants permission to create a secret.

Write

secret *

-

-

cci:secret:get

Grants permission to query a secret.

Read

secret *

-

-

cci:secret:delete

Grants permission to delete a secret.

Write

secret *

-

-

cci:secret:update

Grants permission to update a secret.

Write

secret *

-

-

cci:persistentvolume:list

Grants permission to query all PersistentVolumes.

List

persistentvolume *

-

-

cci:persistentvolume:create

Grants permission to create a PersistentVolume.

Write

persistentvolume *

-

-

cci:persistentvolume:get

Grants permission to query a PersistentVolume.

Read

persistentvolume *

-

-

cci:persistentvolume:update

Grants permission to update a PersistentVolume.

Write

persistentvolume *

-

-

cci:persistentvolume:delete

Grants permission to delete a PersistentVolume.

Write

persistentvolume *

-

-

cci:persistentvolumeclaim:list

Grants permission to query all PersistentVolumeClaims.

List

persistentvolumeclaim *

-

-

cci:persistentvolumeclaim:create

Grants permission to create a PersistentVolumeClaim.

Write

persistentvolumeclaim *

-

-

cci:persistentvolumeclaim:get

Grants permission to query a PersistentVolumeClaim.

Read

persistentvolumeclaim *

-

-

cci:persistentvolumeclaim:update

Grants permission to update a PersistentVolumeClaim.

Write

persistentvolumeclaim *

-

-

cci:persistentvolumeclaim:delete

Grants permission to delete a PersistentVolumeClaim.

Write

persistentvolumeclaim *

-

-

cci:storageclass:list

Grants permission to query all StorageClasses.

List

-

-

-

cci:deployment:list

Grants permission to query all Deployments.

List

deployment *

-

-

cci:deployment:create

Grants permission to create a Deployment.

Write

deployment *

cci:AssociatePublicIp

-

cci:deployment:get

Grants permission to query a Deployment.

Read

deployment *

-

-

cci:deployment:delete

Grants permission to delete a Deployment.

Write

deployment *

-

-

cci:deployment:update

Grants permission to update a Deployment.

Write

deployment *

cci:AssociatePublicIp

-

cci:service:list

Grants permission to query all Services.

List

service *

-

-

cci:service:create

Grants permission to create a Service.

Write

service *

-

-

cci:service:get

Grants permission to query a Service.

Read

service *

-

-

cci:service:delete

Grants permission to delete a Service.

Write

service *

-

-

cci:service:update

Grants permission to update a Service.

Write

service *

-

-

cci:horizontalpodautoscaler:list

Grants permission to query all HorizontalPodAutoscalers.

List

-

-

-

cci:horizontalpodautoscaler:create

Grants permission to create a HorizontalPodAutoscaler.

Write

-

-

-

cci:horizontalpodautoscaler:get

Grants permission to query a HorizontalPodAutoscaler.

Read

-

-

-

cci:horizontalpodautoscaler:delete

Grants permission to delete a HorizontalPodAutoscaler.

Write

-

-

-

cci:horizontalpodautoscaler:update

Grants permission to update a HorizontalPodAutoscaler.

Write

-

-

-

cci::updateobservabilityconfiguration

Grants permission to update the ObservabilityConfiguration.

Write

-

-

cci:observabilityconfiguration:update

cci::getobservabilityconfiguration

Grants permission to query the ObservabilityConfiguration.

Read

-

-

cci:observabilityconfiguration:get

cci:poolbinding:list

Grants permission to query all PoolBindings.

List

-

-

-

cci:poolbinding:create

Grants permission to create a PoolBinding.

Write

-

-

-

cci:poolbinding:get

Grants permission to query a PoolBinding.

Read

-

-

-

cci:poolbinding:delete

Grants permission to delete a PoolBinding.

Write

-

-

-

Each API of CCI usually supports one or more actions. Table 2 lists the supported actions and dependencies.

Table 2 Actions and dependencies supported by CCI APIs

API

Action

Dependencies

GET /apis/cci/v2/namespaces

cci:namespace:list

-

POST /apis/cci/v2/namespaces

cci:namespace:create

-

GET /apis/cci/v2/namespaces/{name}

cci:namespace:get

-

DELETE /apis/cci/v2/namespaces/{name}

cci:namespace:delete

-

GET /apis/cci/v2/namespaces/{namespace}/configmaps

cci:configmap:list

-

POST /apis/cci/v2/namespaces/{namespace}/configmaps

cci:configmap:create

-

GET /apis/cci/v2/namespaces/{namespace}/configmaps/{name}

cci:configmap:get

-

PUT /apis/cci/v2/namespaces/{namespace}/configmaps/{name}

cci:configmap:update

-

DELETE /apis/cci/v2/namespaces/{namespace}/configmaps/{name}

cci:configmap:delete

-

GET /apis/cci/v2/namespaces/{namespace}/pods

cci:pod:list

-

POST /apis/cci/v2/namespaces/{namespace}/pods

cci:pod:create

-

GET /apis/cci/v2/namespaces/{namespace}/pods/{name}

cci:pod:get

-

PUT /apis/cci/v2/namespaces/{namespace}/pods/{name}

cci:pod:update

-

DELETE /apis/cci/v2/namespaces/{namespace}/pods/{name}

cci:pod:delete

-

PATCH /apis/cci/v2/namespaces/{namespace}/pods/{name}

cci:pod:update

-

GET /apis/cci/v2/namespaces/{namespace}/secrets

cci:secret:list

-

POST /apis/cci/v2/namespaces/{namespace}/secrets

cci:secret:create

-

GET /apis/cci/v2/namespaces/{namespace}/secrets/{name}

cci:secret:get

-

PUT /apis/cci/v2/namespaces/{namespace}/secrets/{name}

cci:secret:update

-

DELETE /apis/cci/v2/namespaces/{namespace}/secrets/{name}

cci:secret:delete

-

GET /apis/yangtse/v2/namespaces/{namespace}/networks

cci:network:list

-

POST /apis/yangtse/v2/namespaces/{namespace}/networks

cci:network:create

-

GET /apis/yangtse/v2/namespaces/{namespace}/networks/{name}

cci:network:get

-

PUT /apis/yangtse/v2/namespaces/{namespace}/networks/{name}

cci:network:update

-

DELETE /apis/yangtse/v2/namespaces/{namespace}/networks/{name}

cci:network:delete

-

POST /apis/cci/v2/namespaces/{namespace}/pods/{name}/exec

cci:pod:exec

-

GET /apis/cci/v2/namespaces/{namespace}/pods/{name}/log

cci:pod:getLog

-

GET /apis/cci/v2/persistentvolumes

cci:persistentvolume:list

-

POST /apis/cci/v2/persistentvolumes

cci:persistentvolume:create

-

GET /apis/cci/v2/persistentvolumes/{name}

cci:persistentvolume:get

-

PUT /apis/cci/v2/persistentvolumes/{name}

cci:persistentvolume:update

-

DELETE /apis/cci/v2/persistentvolumes/{name}

cci:persistentvolume:delete

-

GET /apis/cci/v2/namespaces/{namespace}/persistentvolumeclaims

cci:persistentvolumeclaim:list

-

POST /apis/cci/v2/namespaces/{namespace}/persistentvolumeclaims

cci:persistentvolumeclaim:create

-

GET /apis/cci/v2/namespaces/{namespace}/persistentvolumeclaims/{name}

cci:persistentvolumeclaim:get

-

PUT /apis/cci/v2/namespaces/{namespace}/persistentvolumeclaims/{name}

cci:persistentvolumeclaim:update

-

DELETE /apis/cci/v2/namespaces/{namespace}/persistentvolumeclaims/{name}

cci:persistentvolumeclaim:delete

-

GET /apis/cci/v2/storageclasses

cci:storageclass:list

-

GET /apis/cci/v2/namespaces/{namespace}/services

cci:service:list

-

POST /apis/cci/v2/namespaces/{namespace}/services

cci:service:create

-

GET /apis/cci/v2/namespaces/{namespace}/services/{name}

cci:service:get

-

PUT /apis/cci/v2/namespaces/{namespace}/services/{name}

cci:service:update

-

DELETE /apis/cci/v2/namespaces/{namespace}/services/{name}

cci:service:delete

-

PATCH /apis/cci/v2/namespaces/{namespace}/services/{name}

cci:service:update

-

GET /apis/cci/v2/namespaces/{namespace}/deployments

cci:deployment:list

-

POST /apis/cci/v2/namespaces/{namespace}/deployments

cci:deployment:create

-

GET /apis/cci/v2/namespaces/{namespace}/deployments/{name}

cci:deployment:get

-

PUT /apis/cci/v2/namespaces/{namespace}/deployments/{name}

cci:deployment:update

-

DELETE /apis/cci/v2/namespaces/{namespace}/deployments/{name}

cci:deployment:delete

-

PATCH /apis/cci/v2/namespaces/{namespace}/deployments/{name}

cci:deployment:update

-

GET /apis/cci/v2/namespaces/{namespace}/horizontalpodautoscalers

cci:horizontalpodautoscaler:list

-

POST /apis/cci/v2/namespaces/{namespace}/horizontalpodautoscalers

cci:horizontalpodautoscaler:create

-

GET /apis/cci/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}

cci:horizontalpodautoscaler:get

-

PUT /apis/cci/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}

cci:horizontalpodautoscaler:update

-

DELETE /apis/cci/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}

cci:horizontalpodautoscaler:delete

-

PATCH /apis/cci/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}

cci:horizontalpodautoscaler:update

-

PUT /v1/observabilityconfiguration

cci::updateobservabilityconfiguration

-

GET /v1/observabilityconfiguration

cci::getobservabilityconfiguration

-

GET /apis/loadbalancer.networking.openvessel.io/v1/namespaces/{namespace}/poolbindings

cci:poolbinding:list

-

POST /apis/loadbalancer.networking.openvessel.io/v1/namespaces/{namespace}/poolbindings

cci:poolbinding:create

-

GET /apis/loadbalancer.networking.openvessel.io/v1/namespaces/{namespace}/poolbindings/{name}

cci:poolbinding:get

-

DELETE /apis/loadbalancer.networking.openvessel.io/v1/namespaces/{namespace}/poolbindings/{name}

cci:poolbinding:delete

-

Resources

A resource type indicates the resources that an identity policy applies to. If you specify a resource type for any action in Table 3, the resource URN must be specified in the identity policy statements using that action, and the identity policy applies only to resources of this type. If no resource type is specified, the Resource element is marked with an asterisk (*) and the identity policy applies to all resources. You can also set condition keys in an identity policy to define resource types.

The following table lists the resource types that you can define in identity policy statements for CCI.

Table 3 Resource types supported by CCI

Resource Type

URN

deployment

cci:<region>:<account-id>:deployment:<namespace-name>/<deployment-name>

secret

cci:<region>:<account-id>:secret:<namespace-name>/<secret-name>

namespace

cci:<region>:<account-id>:namespace:<namespace-name>

service

cci:<region>:<account-id>:service:<namespace-name>/<service-name>

network

cci:<region>:<account-id>:network:<namespace-name>/<network-name>

persistentvolume

cci:<region>:<account-id>:persistentvolume:<persistentvolume-name>

imagesnapshot

cci:<region>:<account-id>:imagesnapshot:<imagesnapshot-name>

configmap

cci:<region>:<account-id>:configmap:<namespace-name>/<configmap-name>

pod

cci:<region>:<account-id>:pod:<namespace-name>/<pod-name>

persistentvolumeclaim

cci:<region>:<account-id>:persistentvolumeclaim:<namespace-name>/<persistentvolumeclaim-name>

Conditions

Condition Key Overview

A Condition element lets you specify conditions for when an identity policy is in effect. It contains condition keys and operators.

  • The condition key that you specify can be a global condition key or a service-specific condition key.
    • Global condition keys (with the g: prefix) apply to all actions. Cloud services do not need to provide user identity information. Instead, the system automatically obtains such information and authenticates users. For details, see Global Condition Keys.
    • Service-specific condition keys (with the abbreviation of a service name plus a colon as the prefix, for example, cci) apply only to operations of the xx service. For details, see Table 4.
    • The number of values associated with a condition key in the request context of an API call makes the condition key single-valued or multivalued. Single-valued condition keys have at most one value in the request context of an API call. Multivalued condition keys can have multiple values in the request context of an API call. For example, a request can originate from at most one VPC endpoint, so g:SourceVpce is a single-valued condition key. You can tag resources and include multiple tag key-value pairs in a request, so g:TagKeys is a multivalued condition key.
  • A condition operator, condition key, and a condition value together constitute a complete condition statement. An identity policy can be applied only when its request conditions are met. For supported condition operators, see operators.

Service-specific condition keys supported by CCI

The following table lists the condition keys that you can define in identity policies for CCI. You can include these condition keys to specify conditions for when your identity policy is in effect.

Table 4 Service-specific condition keys supported by CCI

Service-specific Condition Key

Type

Single-valued/Multivalued

Description

cci:AssociatePublicIp

boolean

Single-valued

Filters access by the associate switch value for binding eip to pod.

cci:ContainerName

string

Single-valued

Filters access by the container name for execute command in container.