Queries whether an ApsaraDB for Redis instance is authorized to use Key Management Service (KMS).
Operation description
- For information about Transparent Data Encryption (TDE) and the usage notes of TDE, see Enable TDE.
- If the ApsaraDB for Redis instance is authorized to use KMS, you can call the ModifyInstanceTDE operation to enable TDE.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the instance. You can call the DescribeInstances operation to query the ID of the instance. | r-bp1zxszhcgatnx**** |
RoleArn | string | Yes | The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role that you want to attach to your ApsaraDB for Redis instance. The ARN must be in the format of Note
| acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole |
Response parameters
Examples
Sample success responses
JSON
format
{
"AuthorizationState": 1,
"RequestId": "A501A191-BD70-5E50-98A9-C2A486A82****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-07-20 | API Description Update | View Change Details |