All Products
Search
Document Center

ApsaraVideo VOD:DescribeVodCertificateList

Last Updated:Dec 19, 2024

Queries the certificates of a specified domain name for CDN or all the domain names for CDN within your Alibaba Cloud account.

Operation description

Note This operation is available only in the China (Shanghai) region.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
vod:DescribeVodCertificateListlist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DomainNamestringNo

The domain name for CDN.

example.com

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

FC0E34AC-0239-44A7-****-800DE522C8DA
CertificateListModelobject

The information about each certificate.

Countinteger

The number of certificates that are returned.

2
CertListarray<object>

The list of certificates.

Certobject
LastTimelong

The time when the certificate was issued. Unit: seconds.

1512388610
Fingerprintstring

The fingerprint of the certificate.

****
CertNamestring

The name of the certificate.

certificate
Issuerstring

The certificate authority (CA) that issued the certificate.

****
CertIdlong

The ID of the certificate.

235437
Commonstring

The common name of the certificate.

test
CreateTimelong

The time when the certificate was created.

1725206400000
EndTimelong

The time when the certificate expired.

1759507200000
Algorithmstring

The algorithm.

RSA
CertIdentifierstring

The ID of the certificate.

14173772-cn-hangzhou
DomainMatchCertboolean

DomainMatchCert.

false
InstanceIdstring

The ID of the instance.

cert-cn-cd806ae0fdfbfa60
SignAlgorithmstring

The signAlgorithm.

sha256withrsa

Examples

Sample success responses

JSONformat

{
  "RequestId": "FC0E34AC-0239-44A7-****-800DE522C8DA",
  "CertificateListModel": {
    "Count": 2,
    "CertList": {
      "Cert": [
        {
          "LastTime": 1512388610,
          "Fingerprint": "****",
          "CertName": "certificate",
          "Issuer": "****",
          "CertId": 235437,
          "Common": "test",
          "CreateTime": 1725206400000,
          "EndTime": 1759507200000,
          "Algorithm": "RSA",
          "CertIdentifier": "14173772-cn-hangzhou",
          "DomainMatchCert": false,
          "InstanceId": "cert-cn-cd806ae0fdfbfa60",
          "SignAlgorithm": "sha256withrsa"
        }
      ]
    }
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-08-13The response structure of the API has changedView Change Details