Queries the list of custom keys for an ApsaraDB for MongoDB instance.

You can use the custom key obtained by calling the DescribeUserEncryptionKeyList operation to enable TDE. For more information, see ModifyDBInstanceTDE.


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 DescribeUserEncryptionKeyList

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

DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the instance.

RegionId String No cn-hangzhou

The region ID of the instance. You can call the DescribeRegions operation to query the region ID of the instance.

TargetRegionId String No cn-hangzhou-h

The zone ID of the instance. You can call the DescribeRegions operation to query the most recent zone list.

Response parameters

Parameter Type Example Description
KeyIds List 2a4f4ac2-xxxx-xxxx-xxxx-xxxxxxxxxxxx

The list of custom keys.

RequestId String 7CD51DA4-A499-43CE-B9B5-20CD4FDC648E

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

	"RequestId": "7CD51DA4-A499-43CE-B9B5-20CD4FDC648E",
	"KeyIds": {
		"KeyId": [

Error codes

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