Queries the details of a permission policy.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Name | string | Yes | The name of the permission policy that you want to query. | policy_test |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "f455324b-e229-4066-9f58-9c1cf3fe83a9",
"Arn": "acs:kms:cn-hangzhou:119285303511****:policy/policy_test",
"Name": "policy_test",
"Description": "policy description",
"KmsInstance": "kst-hzz634e67d126u9p9****",
"Permissions": [
[
"RbacPermission/Template/CryptoServiceKeyUser",
"RbacPermission/Template/CryptoServiceSecretUser"
]
],
"Resources": [
[
"secret/acs/ram/user/ram-secret",
"secret/acs/ram/user/acr-master",
"key/key-hzz63d9c8d3dfv8cv****"
]
],
"AccessControlRules": {
"NetworkRules": [
"kst-hzz62ee817bvyyr5x****.efkd",
"kst-hzz62ee817bvyyr5x****.eyyp"
]
}
}Error codes
For a list of error codes, visit the Service error codes.
