Creates a gateway key.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:CreateGatewaySecret |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
The ID of the Service Mesh (ASM) instance. |
c08ba3fd1e6484b0f8cc1ad8fe10d**** |
| IstioGatewayName |
string |
No |
The name of the ASM gateway. |
ingressgateway |
| SecretName |
string |
No |
The name of the key. |
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 elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
31d3a0f0-07ed-4f6e-9004-1804498c**** |
| SecretCreateRecord |
object |
The record of creation results. |
|
|
object |
The details of the creation result. |
||
| State |
string |
The status of the gateway key creation. Valid values:
|
success |
| ClusterId |
string |
The ID of the data plane cluster. |
c08ba3fd1e6484b0f8cc1ad8xe10d**** |
| Message |
string |
The error message that is returned if the status is abnormal. This parameter is empty if the status is normal. |
timeout |
Examples
Success response
JSON format
{
"RequestId": "31d3a0f0-07ed-4f6e-9004-1804498c****",
"SecretCreateRecord": {
"key": {
"State": "success",
"ClusterId": "c08ba3fd1e6484b0f8cc1ad8xe10d****",
"Message": "timeout"
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.