You need to enable JavaScript to run this app.
IAM

IAM

Copy page
Download PDF
Policy Example
Control permissions based on RequestTag
Copy page
Download PDF
Control permissions based on RequestTag

Scenario: The limit can only add the label key to the project and the label value is the label of the short video service or the label of the unlabeling key to the project for the cloud enterprise network resources.
Policy example:

{ 
  "Statement": [ 
    { 
      "Effect": "Allow", 
      "Action": [ 
        "cen:TagResources" 
      ], 
      "Resource": [ 
        "*" 
      ], 
      "Condition":{ 
          "StringEquals":{ 
                  "Volc: RequestTag/project": "Short video service" 
          } 
			} 
		}, 
    { 
      "Effect": "Allow", 
      "Action": [ 
        "cen:UntagResources" 
      ], 
      "Resource": [ 
        "*" 
      ], 
      "Condition":{ 
          "ForAnyValue:StringEqualsIfExists":{ 
                  "volc:RequestTagKeys":"project" 
          } 
			} 
		} 
  ] 
}

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

Last updated: 2025.06.23 19:21:32