You need to enable JavaScript to run this app.
IAM

IAM

Copy page
Download PDF
Policy Example
Control permissions based on resource tags
Copy page
Download PDF
Control permissions based on resource tags

Scenario: Restrict access to only the resources of the cloud database MySQL version with the label key attached as project and the label value as short video service .
Policy example:

{ 
  "Statement": [ 
    { 
      "Effect": "Allow", 
      "Action": [ 
        "rds_mysql:*" 
      ], 
      "Resource": [ 
        "*" 
      ], 
      "Condition":{ 
          "StringEquals":{ 
                  "Volc: ResourceTag/project": "Short video business" 
          } 
      } 
    } 
  ] 
}

For details of the condition key, please refer to the Condition Use Instructions

Last updated: 2025.06.23 19:21:30