All Products
Search
Document Center

Certificate Management Service:ListCertWarehouse

Last Updated:Feb 27, 2025

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

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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
yundun-cert:ListCertWarehouselist
*All Resources
*
    none
none

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.

CertWarehouseobject

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.

Change history

Change timeSummary of changesOperation
2024-09-20API Description UpdateView Change Details