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