All Products
Search
Document Center

CDN:DescribeCdnCertificateDetailById

Última atualização: Aug 28, 2026

Queries the details of a certificate by certificate ID.

Debugging

Run this operation in OpenAPI Explorer. OpenAPI Explorer automatically calculates the request signature and generates SDK code samples.

Debug

Authorization information

The following table lists the authorization details for this operation. Use the values in the Operation column in the Action element of your RAM policy to grant a RAM user or RAM role permission to call this operation.

OperationAccess levelResource typeCondition keyAssociated operation
cdn:DescribeCdnCertificateDetailByIdget*All Resourcesnonenone

Request parameters

ParameterTypeRequiredDescriptionExample
CertIdstringYesThe ID of the certificate.12345
CertRegionstringNoThe region of the certificate. Valid values:
  • ap-southeast-1: Singapore
  • cn-hangzhou: China (Hangzhou)
Default value: cn-hangzhou
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
CertNamestringThe name of the certificate.yourCertName
KeystringThe public key of the certificate.587f6db37e3a2f01047b032b739cbe31
CertstringThe content of the certificate.-----BEGINCERTIFICATE-----xxx-----END CERTIFICATE-----
CertIdlongThe ID of the certificate.12345
RequestIdstringThe request ID.C370DAF1-C838-4288-A1A0-9A87633D248E

Examples

Sample success responses

JSON format

{
  "CertName": "yourCertName",
  "Key": "587f6db37e3a2f01047b032b739cbe31",
  "Cert": "-----BEGINCERTIFICATE-----xxx-----END CERTIFICATE-----",
  "CertId": 12345,
  "RequestId": "C370DAF1-C838-4288-A1A0-9A87633D248E"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidCertId.NotFoundThe certId does not exist.The certificate ID does not exist.
400Abs.CertRegion.ValueNotSupportedCertRegion is not supported.The certificate region is not supported.

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

Change history

Change timeSummary of changesOperation
No change history