Queries whether an ApsaraDB Tair (Redis® OSS-Compatible) database instance has authorization to use Key Management Service (KMS).
Operation description
For more information about transparent data encryption (TDE) and precautions, see Enable transparent data encryption.
After you invoke this operation to confirm the authorization, you can invoke the ModifyInstanceTDE operation to enable the TDE encryption feature.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:CheckCloudResourceAuthorized |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can call the DescribeInstances operation to query the instance ID. |
r-bp1zxszhcgatnx**** |
| RoleArn |
string |
No |
Specifies the global resource descriptor ARN (Alibaba Cloud Resource Name) of the role to be granted authorization. After the authorization of the role is completed, you can use Key Management Service (KMS). Format: Note
|
acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AuthorizationState |
integer |
The authorization status. Valid values:
|
1 |
| RequestId |
string |
The request ID. |
A501A191-BD70-5E50-98A9-C2A486A82**** |
Examples
Success response
JSON format
{
"AuthorizationState": 1,
"RequestId": "A501A191-BD70-5E50-98A9-C2A486A82****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.