You need to enable JavaScript to run this app.
IAM

IAM

Copy page
Download PDF
Policy Example
Control permissions based on region of access
Copy page
Download PDF
Control permissions based on region of access

Scenario: Restricted access to MongoDB version of the document database under North China 2 (Beijing) and East China 2 (Shanghai).
Policy example:

{ 
  "Statement": [ 
    { 
      "Effect": "Allow", 
      "Action": [ 
        "mongodb:*" 
      ], 
      "Resource": [ 
        "*" 
      ], 
      "Condition": { 
        "StringEquals": { 
          "volc:RequestedRegion":["cn-beijing","cn-shanghai"] 
        } 
      } 
    } 
  ] 
}

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

Last updated: 2025.06.23 19:21:31