调用 DescribeDBInstanceSSL 接口查询指定实例的 SSL 设置。
同步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
InstanceId | String | 是 | postgres-f006d308**** | 实例 ID。 |
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
Address | String[] | [
"postgresf006d308****.rds-pg.ivolces.com"
] | 受保护地址。 |
ForceEncryption | Boolean | true | 是否开启了强制加密,取值:
|
IsValid | Boolean | true | SSL 证书是否有效,取值:
|
SSLEnable | Boolean | true | SSL 功能是否开启,取值:
|
SSLExpireTime | String | 2026-09-10T04:50:55Z | SSL 证书的到期时间。格式为: yyyy-MM-ddTHH:mm:ss(UTC 时间)。 |
TLSVersion | String[] | [
"TLSv1_2",
"TLSv1_3"
] | 支持的 TLS 版本。 |
POST /?Action=DescribeDBInstanceSSL&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds-postgresql.cn-beijing.volcengineapi.com X-Date: 20231002T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceId": "postgres-f006d308****" }
{ "ResponseMetadata": { "RequestId": "20250910212750FB6F70C0B435BAD38BED-d402ca", "Action": "DescribeDBInstanceSSL", "Version": "2022-01-01", "Service": "rds_postgresql", "Region": "cn-beijing" }, "Result": { "Address": [ "postgresf006d308****.rds-pg.ivolces.com" ], "ForceEncryption": true, "IsValid": true, "SSLEnable": true, "SSLExpireTime": "2026-09-10T04:50:55Z", "TLSVersion": [ "TLSv1_2", "TLSv1_3" ] } }