文档

DescribeGatewaySecretDetails - 查询网关证书密钥详细信息

调用DescribeGatewaySecretDetails查询网关证书密钥详细信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
ServiceMeshIdstring

服务网格实例 ID。

c08ba3fd1e6484b0f8cc1ad8fe10d****
IstioGatewayNamestring

ASM 网关名称。

ingressgateway

返回参数

名称类型描述示例值
object

响应体。

RequestIdstring

请求 ID。

31d3a0f0-07ed-4f6e-9004-1804498c****
GatewaySecretDetailsobject []

网关证书密钥详细信息列表。

IssueTimestring

证书颁发时间。

2022-03-03 07:45
ExpiredTimestring

证书过期时间。

2023-03-03 07:45
GatewayNamestring

网关名称。

bookinfo-gateway
Statestring

证书状态,取值:

  • normal:网关状态正常。

  • abnormal:网关状态异常。

normal
Messagestring
  • 当网关状态异常时描述了异常的原因,例如tls.crt not existtls.key not existsecret type must be kubernetes.io/tls

  • 当网关正常时,则为空。

tls.crt not exist
SNIstring

服务名称标识。

demo.com
SecretNamestring

密钥名称。

demo-secret

示例

正常返回示例

JSON格式

{
  "RequestId": "31d3a0f0-07ed-4f6e-9004-1804498c****",
  "GatewaySecretDetails": [
    {
      "IssueTime": "2022-03-03 07:45",
      "ExpiredTime": "2023-03-03 07:45",
      "GatewayName": "bookinfo-gateway",
      "State": "normal",
      "Message": "tls.crt not exist",
      "SNI": "demo.com",
      "SecretName": "demo-secret"
    }
  ]
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈