CmdID / aws / aws apigateway
aws apigateway get-client-certificate
Gets information about the current ClientCertificate resource. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get a client certificate
The following get-client-certificate example gets the client certificate with the ID a1b2c3.
aws apigateway get-client-certificate --client-certificate-id a1b2c3Identify--client-certificate-idThe identifier of the ClientCertificate resource to be described.Its output
{
"clientCertificateId": "a1b2c3",
"description": "My First Client Certificate",
"pemEncodedCertificate": "-----BEGIN CERTIFICATE-----\nMIIC6TCCAdGgAwIBAgIJAKbyiCf2f5J2MA0GCSqGSIb3DQEBCwUAMDQxCzAJBgNVEXAMPLE\n-----END CERTIFICATE-----\n",
"createdDate": "2016-02-23T23:39:00+00:00",
"expirationDate": "2017-02-23T23:39:00+00:00",
"tags": {}
}For more information, see Use an API Gateway-generated certificate for backend authentication in API Gateway in the Amazon API Gateway Developer Guide.
Options
--client-certificate-idThe identifier of the ClientCertificate resource to be described.