All Products
Search
Document Center

Alibaba Cloud Service Mesh:DescribeGatewaySecretDetails

Last Updated:Mar 05, 2024

Queries the detailed information about a secret of a Service Mesh (ASM) gateway.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ASM instance ID.

c08ba3fd1e6484b0f8cc1ad8fe10d****
IstioGatewayNamestringNo

The name of the ASM gateway.

ingressgateway

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

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

The detailed information about the secret of the ASM gateway.

IssueTimestring

The time when the certificate was issued.

2022-03-03 07:45
ExpiredTimestring

The time when the certificate expires.

2023-03-03 07:45
GatewayNamestring

The name of the gateway.

bookinfo-gateway
Statestring

The status of the certificate. Valid values:

  • normal
  • abnormal
normal
Messagestring
  • An error message is returned if the status of the gateway is abnormal. Examples: tls.crt not exist, tls.key not exist, and secret type must be kubernetes.io/tls.
  • An empty value is returned if the status of the gateway is normal.
tls.crt not exist
SNIstring

The Server Name Indication (SNI) value.

demo.com
SecretNamestring

The name of the secret.

demo-secret

Examples

Sample success responses

JSONformat

{
  "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"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history