DescribeDBInstanceSSL
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
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
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 for a complete list.
Release notes
See 变更详情 for a complete list.