You need to enable JavaScript to run this app.
IAM

IAM

Copy page
Download PDF
Policy Example
Control permissions based on console access (ViaConsole)
Copy page
Download PDF
Control permissions based on console access (ViaConsole)

Scenario: Allow access to the NAT gateway only through OpenAPI (programmatic access), not through the console.
Policy example:

{ 
    "Statement": [ 
        { 
            "Effect": "Allow", 
            "Action": [ 
                "natgateway:*" 
            ], 
            "Resource": [ 
                "*" 
            ], 
            "Condition": { 
                "Bool": { 
                    "volc:ViaConsole": [ 
                        "false" 
                    ] 
                } 
            } 
        } 
    ] 
}

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

Last updated: 2025.06.23 19:21:30