Retrieves the SSL configuration of an AnalyticDB for PostgreSQL instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:DescribeDBInstanceSSL |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The ID of the instance. |
gp-bp12ga6v69h86**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| SSLExpiredTime |
string |
The expiration time of the SSL certificate. |
2023-08-05T09:05:53Z |
| RequestId |
string |
The request ID. |
D5FF8636-37F6-4CE0-8002-F8734C62C686 |
| SSLEnabled |
boolean |
Indicates whether SSL encryption is enabled. |
true |
| DBInstanceId |
string |
The ID of the instance. |
gp-bp12ga6v69h86**** |
| CertCommonName |
string |
The common name (CN) of the SSL certificate. |
*.gpdbmaster.xxx.rds.aliyuncs.com |
| DBInstanceName |
string |
The name of the instance. |
gp-bp12ga6v69h86**** |
Examples
Success response
JSON format
{
"SSLExpiredTime": "2023-08-05T09:05:53Z",
"RequestId": "D5FF8636-37F6-4CE0-8002-F8734C62C686",
"SSLEnabled": true,
"DBInstanceId": "gp-bp12ga6v69h86****",
"CertCommonName": "*.gpdbmaster.xxx.rds.aliyuncs.com",
"DBInstanceName": "gp-bp12ga6v69h86****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.