Queries the certificates in a certificate application repository.
Operation description
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.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListCert |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| KeyWord |
string |
No |
The keyword for the query. You can enter a name, domain name, or Subject Alternative Name (SAN) extension. Fuzzy match is supported. |
test_name |
| WarehouseId |
integer |
No |
The ID of the certificate repository. You can call the ListCertWarehouse API operation to query the IDs of certificate repositories. |
12 |
| Status |
string |
No |
The status of the certificate. Valid values:
|
ISSUE |
| SourceType |
string |
No |
The source of the certificate. Valid values:
|
aliyun |
| CertType |
string |
No |
The type of the certificate. Valid values:
|
CERT |
| CurrentPage |
integer |
No |
The page number. Default value: 1. |
1 |
| ShowSize |
integer |
No |
The number of entries to return on each page. Default value: 50. |
50 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The object. |
||
| ShowSize |
integer |
The number of entries returned per page. Default value: 50. |
50 |
| CurrentPage |
integer |
The page number of the returned page. Default value: 1. |
1 |
| TotalCount |
integer |
The total number of entries returned. |
10 |
| CertList |
array<object> |
An array that consists of the certificates. |
|
|
object |
The information about the certificate. |
||
| WhId |
integer |
The ID of the certificate repository. |
2 |
| Identifier |
string |
The unique identifier of the certificate. |
14dcc8afc7578e |
| WhInstanceId |
string |
The instance ID of the certificate repository. |
test_whInstanceId |
| Status |
string |
The status of the certificate. Valid values:
|
ISSUE |
| SourceType |
string |
The source of the certificate. Valid values:
|
aliyun |
| CertType |
string |
The type of the certificate. Valid values:
|
CERT |
| CommonName |
string |
The domain name. |
aliyun.alibaba.com |
| BeforeDate |
integer |
The issuance time of the certificate. The value is a UNIX timestamp. Unit: milliseconds. |
1665819958000 |
| Issuer |
string |
The issuer of the certificate. |
mySSL |
| AfterDate |
integer |
The expiration time of the certificate. The value is a UNIX timestamp. Unit: milliseconds. |
1634283958000 |
| ExistPrivateKey |
boolean |
Indicates whether the certificate contains a private key. Valid values:
|
false |
| Sans |
string |
The domain names that are bound to the certificate. Multiple domain names are separated by commas. |
*.alibaba.com,aliyun.alibaba.com |
| RequestId |
string |
The ID of the request. |
15C66C7B-671A-4297-9187-2C4477247A74 |
Examples
Success response
JSON format
{
"ShowSize": 50,
"CurrentPage": 1,
"TotalCount": 10,
"CertList": [
{
"WhId": 2,
"Identifier": "14dcc8afc7578e",
"WhInstanceId": "test_whInstanceId",
"Status": "ISSUE",
"SourceType": "aliyun",
"CertType": "CERT",
"CommonName": "aliyun.alibaba.com",
"BeforeDate": 1665819958000,
"Issuer": "mySSL",
"AfterDate": 1634283958000,
"ExistPrivateKey": false,
"Sans": "*.alibaba.com,aliyun.alibaba.com"
}
],
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.