Updated on 2023-09-26 GMT+08:00

DAS Custom Policies

Custom policies can be created to supplement the system-defined policies of DAS.

There are two ways to create custom policies:

  • Visual editor: Select cloud services, actions, resources, and request conditions. This does not require knowledge of policy syntax.
  • JSON: Edit JSON policies from scratch or based on an existing policy.

For details about how to create custom policies, see Creating a Custom Policy.. This section describes example custom policies of DAS.

Examples of DAS Custom Policies

Example 1: Assign only DAS permissions.

{
    "Version": "1.1",
    "Statement": [
        {
            "Action": [
                "das:*:*"
            ],
            "Effect": "Allow"
        }
    ]
}

Example 2: Assign users the permissions to use Intelligent O&M but not Development Tool.

{ 
    "Version": "1.1",
    "Statement": [
       { 
           "Action": [
               "das:connections:list" 
],
           "Effect": "Allow" 
       } 
   ] 
}