You can call this operation to query whether TDE is enabled for a MongoDB instance.

Note For more information about this function, see Configure TDE.

Before you call this operation, make sure that the following requirements are met:

  • The instance is a replica set or sharded cluster instance.
  • The storage engine of the instance is WiredTiger.
  • The database Engineversion of the instance is 4.0 or 4.2. If the database engine version of your instance is earlier than 4.0, you can call UpgradeDBInstanceEngineVersion to upgrade the database engine.


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 DescribeDBInstanceTDEInfo

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

DBInstanceId String No dds-bpxxxxxxxx

The ID of the instance.

Response parameters

Parameter Type Example Description
RequestId String F4DD0E29-361B-42F2-9301-B0048CCCE5D6

The ID of the request.

TDEStatus String enabled

The TDE status. Valid values:

  • enabled
  • disabled


Sample requests

http(s):// Action=DescribeDBInstanceTDEInfo
&<Common request parameters>

Sample success responses

XML format


JSON format

    "TDEStatus": "enabled",
    "RequestId": "F4DD0E29-361B-42F2-9301-B0048CCCE5D6"

Error codes

For more information about error codes, visit API Error Center.