Updated on 2023-03-07 GMT+08:00

DAS Custom Policies

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

You can create custom policies in either of the following ways:

  • 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.

. 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 permission to use Intelligent O&M but not Development Tool.

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