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.
- For details about how to use these elements to edit an IAM custom identity policy, see Creating a Custom Identity Policy.
- For details about how to use these elements to edit a custom SCP, see Creating an SCP.
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 deployman, 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 deployman, 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 deployman.
|
Action |
Description |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
|---|---|---|---|---|---|
|
codeartsdeploy:template:create |
Grants permission to create templates in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:template:delete |
Grants permission to delete templates in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:template:update |
Grants permission to update templates in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:template:get |
Grants permission to view template details in CodeArtsDeploy. |
Read |
- |
- |
- |
|
codeartsdeploy:template:list |
Grants permission to view template list in CodeArtsDeploy. |
List |
- |
- |
- |
|
codeartsdeploy:application:create |
Grants permission to create application in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:application:delete |
Grants permission to delete applications in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:application:update |
Grants permission to update applications in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:application:disable |
Grants permission to disable applications in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:application:deploy |
Grants permission to deploy applications in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:application:clone |
Grants permission to clone applications in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:application:managePermission |
Grants permission to modify applications permissions in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:application:get |
Grants permission to view application details in CodeArtsDeploy. |
Read |
- |
- |
- |
|
codeartsdeploy:application:list |
Grants permission to view application list in CodeArtsDeploy. |
List |
- |
- |
- |
|
codeartsdeploy:applicationGroup:manage |
Grants permission to update application group in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:applicationGroup:list |
Grants permission to view application group list in CodeArtsDeploy. |
List |
- |
- |
- |
|
codeartsdeploy:environment:create |
Grants permission to create environment in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:environment:delete |
Grants permission to delete environment in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:environment:update |
Grants permission to update environment in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:environment:get |
Grants permission to view environment details in CodeArtsDeploy. |
Read |
- |
- |
- |
|
codeartsdeploy:environment:list |
Grants permission to view environment list in CodeArtsDeploy. |
List |
- |
- |
- |
|
codeartsdeploy:environment:managePermission |
Grants permission to modify environment permissions in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:resource:create |
Grants permission to create resource in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:resource:delete |
Grants permission to delete resource in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:resource:update |
Grants permission to update resource in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:resource:addHost |
Grants permission to add host to the resource in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:resource:copyHost |
Grants permission to copy host to resource in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:resource:managePermission |
Grants permission to modify resource permissions in CodeArtsDeploy. |
Write |
- |
- |
- |
|
codeartsdeploy:resource:get |
Grants permission to view resource in CodeArtsDeploy. |
Read |
- |
- |
- |
|
codeartsdeploy:resource:list |
Grants permission to view resource list in CodeArtsDeploy. |
List |
- |
- |
- |
Each API of deployman usually supports one or more actions. Table 2 lists the supported actions and dependencies.
|
API |
Action |
Dependencies |
|---|---|---|
|
codeartsdeploy:application:create |
- |
|
|
codeartsdeploy:application:update |
- |
|
|
codeartsdeploy:application:delete |
- |
|
|
codeartsdeploy:application:delete |
- |
|
|
codeartsdeploy:application:get |
- |
|
|
codeartsdeploy:application:list |
- |
|
|
codeartsdeploy:application:clone |
- |
|
|
codeartsdeploy:application:list |
- |
|
|
codeartsdeploy:application:list |
- |
|
|
codeartsdeploy:application:list |
- |
|
|
codeartsdeploy:application:managePermission |
- |
|
|
codeartsdeploy:application:managePermission |
- |
|
|
codeartsdeploy:application:get |
- |
|
|
codeartsdeploy:application:disable |
- |
|
|
codeartsdeploy:application:create |
- |
|
|
codeartsdeploy:application:delete |
- |
|
|
codeartsdeploy:application:get |
- |
|
|
codeartsdeploy:application:get |
- |
|
|
codeartsdeploy:application:get |
- |
|
|
codeartsdeploy:application:list |
- |
|
|
codeartsdeploy:application:list |
- |
|
|
codeartsdeploy:application:deploy |
- |
|
|
codeartsdeploy:application:list |
- |
|
|
codeartsdeploy:applicationGroup:manage |
- |
|
|
codeartsdeploy:applicationGroup:manage |
- |
|
|
codeartsdeploy:applicationGroup:manage |
- |
|
|
DELETE /v1/projects/{project_id}/applications/groups/{group_id} |
codeartsdeploy:applicationGroup:manage |
- |
|
PUT /v1/projects/{project_id}/applications/groups/{group_id} |
codeartsdeploy:applicationGroup:manage |
- |
|
codeartsdeploy:applicationGroup:list |
- |
|
|
codeartsdeploy:resource:addHost |
- |
|
|
codeartsdeploy:resource:get |
- |
|
|
codeartsdeploy:resource:update |
- |
|
|
codeartsdeploy:resource:delete |
- |
|
|
codeartsdeploy:resource:get |
- |
|
|
codeartsdeploy:resource:get |
- |
|
|
codeartsdeploy:resource:delete |
- |
|
|
codeartsdeploy:resource:update |
- |
|
|
codeartsdeploy:resource:get |
- |
|
|
codeartsdeploy:resource:get |
- |
|
|
codeartsdeploy:resource:managePermission |
- |
|
|
codeartsdeploy:resource:list |
- |
|
|
codeartsdeploy:resource:addHost |
- |
|
|
codeartsdeploy:resource:create |
- |
|
|
codeartsdeploy:resource:list |
- |
|
|
POST /v1/resources/host-groups/{group_id}/hosts/batch-delete |
codeartsdeploy:resource:delete |
- |
|
codeartsdeploy:resource:copyHost |
- |
|
|
codeartsdeploy:resource:get |
- |
|
|
codeartsdeploy:resource:create |
- |
|
|
codeartsdeploy:resource:list |
- |
|
|
codeartsdeploy:resource:list |
- |
|
|
codeartsdeploy:resource:update |
- |
|
|
codeartsdeploy:resource:delete |
- |
|
|
codeartsdeploy:resource:delete |
- |
|
|
codeartsdeploy:resource:update |
- |
|
|
codeartsdeploy:resource:get |
- |
|
|
DELETE /v1/applications/{application_id}/environments/{environment_id}/{host_id} |
codeartsdeploy:environment:delete |
- |
|
DELETE /v1/applications/{application_id}/environments/{environment_id} |
codeartsdeploy:environment:delete |
- |
|
GET /v1/applications/{application_id}/environments/{environment_id} |
codeartsdeploy:environment:get |
- |
|
PUT /v1/applications/{application_id}/environments/{environment_id} |
codeartsdeploy:environment:update |
- |
|
GET /v1/applications/{application_id}/host-groups/base/infos |
codeartsdeploy:environment:list |
- |
|
codeartsdeploy:environment:create |
- |
|
|
codeartsdeploy:environment:list |
- |
|
|
POST /v1/applications/{application_id}/environments/{environment_id}/hosts/import |
codeartsdeploy:environment:update |
- |
|
GET /v1/applications/{application_id}/environments/{environment_id}/hosts |
codeartsdeploy:environment:get |
- |
Resources
deployman does not support resource-level authorization. To allow access to deployman, use a wildcard (*) in the Resource element of the identity policy, indicating that the identity policy will be applied to all resources.
Conditions
deployman does not support service-specific condition keys in identity policies.It can only use global condition keys applicable to all services. For details, see Global Condition Keys.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot