Queries whether transparent data encryption (TDE) is enabled for an ApsaraDB for Redis instance.

For more information about TDE and the usage notes of TDE, see Enable TDE.

Note You can call the ModifyInstanceTDE to enable or disable TDE.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeInstanceTDEStatus

The operation that you want to perform. Set the value to DescribeInstanceTDEStatus.

InstanceId String Yes r-bp1zxszhcgatnx****

The ID of the ApsaraDB for Redis instance. You can call the DescribeInstances operation to query instance IDs.

RegionId String No cn-hangzhou

The region ID of the instance. You can call the DescribeInstances operation to query the region IDs of instances.

Response parameters

Parameter Type Example Description
RequestId String 5D622714-AEDD-4609-9167-F5DDD3D1****

The ID of the request.

TDEStatus String Enabled

Indicates whether TDE is enabled. Valid values:

  • Enabled: TDE is enabled.
  • Disable: TDE is disabled.

Examples

Sample requests

http(s)://r-kvstore.aliyuncs.com/?Action=DescribeInstanceTDEStatus
&InstanceId=r-bp1zxszhcgatnx****
&<Common request parameters>

Sample success responses

XML format

<DescribeInstanceTDEStatusResponse>
      <TDEStatus>Enabled</TDEStatus>
      <RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>
</DescribeInstanceTDEStatusResponse>

JSON format

{
    "TDEStatus": "Enabled",
    "RequestId": "5D622714-AEDD-4609-9167-F5DDD3D1****"
}

Error codes

For a list of error codes, visit the API Error Center.