Queries the details of the SSL configuration for a MongoDB instance.
Operation description
The instance must meet the following requirements:
The instance status is Running.
The instance is a replica set instance or a sharded cluster instance.
The replica set instance must be version 3.4 or later.
The sharded cluster instance must use Enhanced SSDs (ESSDs).
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
dds:DescribeDBInstanceSSL | get | *Instance
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
DBInstanceId | string | Yes | The instance ID. | dds-bpxxxxxxxx |
Response elements
Element | Type | Description | Example |
object | |||
SSLExpiredTime | string | The expiration time of the SSL certificate. The time is in the yyyy-MM-ddTHH:mm:ssZ format and is displayed in UTC. | 2020-03-11T02:28:25Z |
SSLStatus | string | The status of the SSL feature.
| Open |
RequestId | string | The request ID. | 36BB1BC2-789C-4BBA-A519-C5B388E4B0D4 |
CertCommonName | string | The name of the SSL certificate. | dds-bpxxxxxxxx.mongodb.rds.aliyuncs.com |
ForceEncryption | string | Specifies whether connections must be encrypted using SSL. Valid values:
Valid values:
| 0 |
Examples
Success response
JSON format
{
"SSLExpiredTime": "2020-03-11T02:28:25Z",
"SSLStatus": "Open",
"RequestId": "36BB1BC2-789C-4BBA-A519-C5B388E4B0D4",
"CertCommonName": "dds-bpxxxxxxxx.mongodb.rds.aliyuncs.com",
"ForceEncryption": "0"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.