All Products
Search
Document Center

Certificate Management Service:ListCertWarehouse

Last Updated:Jul 05, 2024

Queries certificate repositories.

Operation description

You can call the ListCertWarehouse operation to query certificate repositories.

Limits

You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NamestringNo

The name of the certificate application repository. Fuzzy match is supported.

name
InstanceIdstringNo

The instance ID of the certificate application repository.

14dcc8afc7578e1f
TypestringNo

The type of the certificate application repository. Valid values:

  • ssl: certificate application repository of SSL certificates
  • uploadPCA: certificate application repository of uploaded private certificates
  • free: certificate application repository of free certificates, available only on the China site (aliyun.com)
  • aliyunPCA: certificate application repository of private certificates purchased from Alibaba Cloud Private Certificate Authority (PCA), available only on the China site (aliyun.com)
  • disable: disabled certificate application repository
aliyunPCA
CurrentPagelongNo

The number of the page to return. Default value: 1.

1
ShowSizelongNo

The number of entries to return on each page. Default value: 50.

50

Response parameters

ParameterTypeDescriptionExample
object
ShowSizelong

The number of entries returned per page. Default value: 50.

50
CurrentPagelong

The page number of the returned page. Default value: 1.

1
TotalCountlong

The total number of entries returned.

10
CertWarehouseListarray<object>

The certificate application repositories.

object

The information about the certificate application repository.

WhIdlong

The ID of the certificate application repository.

1
InstanceIdstring

The instance ID of the certificate application repository.

14dcc8afc7578e1f
Namestring

The name of the certificate application repository.

name
PcaInstanceIdstring

The instance ID of the private CA.

14dcc8afc7578e1f
Qpslong

The queries per second (QPS).

10
Typestring

The type of the certificate application repository. Valid values:

  • ssl: certificate application repository of SSL certificates
  • uploadPCA: certificate application repository of uploaded private certificates
  • free: certificate application repository of free certificates, available only on the China site (aliyun.com)
  • aliyunPCA: certificate application repository of private certificates purchased from Alibaba Cloud Private Certificate Authority (PCA), available only on the China site (aliyun.com)
  • disable: disabled certificate application repository
aliyunPCA
EndTimelong

The timestamp when the certificate application repository expires. Unit: milliseconds.

1665819958000
IsExpiredboolean

Indicates whether the certificate application repository has expired. Valid values:

  • true
  • false
false
RequestIdstring

The ID of the request.

15C66C7B-671A-4297-9187-2C4477247A74

Examples

Sample success responses

JSONformat

{
  "ShowSize": 50,
  "CurrentPage": 1,
  "TotalCount": 10,
  "CertWarehouseList": [
    {
      "WhId": 1,
      "InstanceId": "14dcc8afc7578e1f",
      "Name": "name",
      "PcaInstanceId": "14dcc8afc7578e1f",
      "Qps": 10,
      "Type": "aliyunPCA",
      "EndTime": 1665819958000,
      "IsExpired": false
    }
  ],
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247A74"
}

Error codes

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