Checks whether a Tair (Redis OSS-compatible) instance is authorized to use Key Management Service (KMS).
Operation description
-
For more information about Transparent Data Encryption (TDE), see Enable TDE.
-
After the instance is authorized to use KMS, you can call the ModifyInstanceTDE operation to enable TDE.
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 |
The Alibaba Cloud Resource Name (ARN) of the RAM role to attach to the Tair (Redis OSS-compatible) instance. The ARN must be in the format of Note
|
acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AuthorizationState |
integer |
Indicates whether the instance is authorized to use KMS. 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.