Creates a secret for a Service Mesh (ASM) gateway.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ServiceMeshId | string | Yes | The ASM instance ID. | c08ba3fd1e6484b0f8cc1ad8fe10d**** |
IstioGatewayName | string | No | The name of the ASM gateway. | ingressgateway |
SecretName | string | No | The name of the secret. | bookinfo-secret |
Cert | string | No | The content of the certificate. | -----BEGIN CERTIFICATE----- MIIC2DCCAcACA-----END CERTIF****----- |
Key | string | No | The private key of the certificate. | MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC2ag/Bzcgm**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "31d3a0f0-07ed-4f6e-9004-1804498c****",
"SecretCreateRecord": {
"key": {
"State": "success",
"ClusterId": "c08ba3fd1e6484b0f8cc1ad8xe10d****",
"Message": "timeout"
}
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history