Product Overview
Benefits
Use Cases
Architecture
Regions
{"version":"2.0","statement":[{"effect":"effect","action":["action"],"resource":["resource"],"condition": {"key":{"value"}}}]}
effect, action, resource, and condition. One policy has only one statement.permid). This element is required.name/tcaplusdb: should be used for TcaplusDB, such as name/tcaplusdb:DescribeClusters or name/tcaplusdb:DeleteCluster.
To specify multiple operations in a single statement, separate them with commas as shown below:"action":["name/tcaplusdb:action1","name/tcaplusdb:action2"]
"action":["name/tcaplusdb:Describe*"]
"action":["name/tcaplusdb:*"]
qcs:project_id:service_type:region:account:resource
tcaplusdb.
region describes the region information, such as ap-shanghai. If a specific resource is specified, there is no need to enter region.
account is the root account of the resource owner, such as uin/164xxx472.
resource describes detailed resource information of each product, such as cluster/19168929215 or cluster/* for cluster resource, where cluster, table group, and table cannot be authenticated in a cascading manner. If you want to control access to all tables or table groups in a specified cluster, you need to configure authentication for the tables or table groups in addition to the cluster. The table below describes the resources that can be used by TcaplusDB and the corresponding resource description methods.Resource | Resource Description Method in Authorization Policy |
Cluster | qcs::tcaplusdb:$region:$account:cluster/$clusterId |
Table group | qcs::tcaplusdb:$region:$account:tablegroup/$clusterId/$tablegroupId |
Table | qcs::tcaplusdb:$region:$account:table/$tableId |
"resource":[ "qcs::tcaplusdb:ap-shanghai:uin/164xxx472:cluster/19168929215"]
"resource":[ "qcs::tcaplusdb:ap-shanghai:uin/164xxx472:cluster/*"]
resource element as shown below:"resource": ["*"]
"resource":["qcs::tcaplusdb::uin/164xxx472:cluster/19168929215","qcs::tcaplusdb::uin/164xxx472:cluster/21168929215"]
피드백