Retrieves a list of certificates.
Operation description
The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled. This may affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListCert |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceUuid |
string |
No |
The UUID of the instance. |
1ef79512-569b-6a4e-9105-9b91473562f7 |
| BeforeDate |
string |
No |
The time when the certificate was last modified. |
2025-09-04 |
| AfterDate |
string |
No |
The host record to which the certificate is bound. |
2024-05-13 12:59:45 |
| Status |
string |
No |
The status of the certificate. Valid values:
|
ISSUE |
| Type |
string |
No |
The type of the certificate. Valid values:
|
CLIENT |
| CurrentPage |
integer |
No |
The number of the page to return. |
1 |
| ShowSize |
integer |
No |
The size of the certificate in bytes. |
50 |
| MaxResults |
integer |
No |
The maximum number of entries to return in this request. |
20 |
| NextToken |
string |
No |
The token that is used to start the next query. If this parameter is left empty, the query starts from the beginning. |
1d2db86sca4384811e0b5e8707e68181f |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
OpenApiResponse<PagedResultData |
||
| TotalCount |
integer |
The total number of certificates. |
10 |
| PageCount |
integer |
The total number of pages. |
1 |
| CurrentPage |
integer |
The number of the current page. |
1 |
| ShowSize |
integer |
The total size of the certificate, in bytes. |
50 |
| List |
array<object> |
The ID of the data source for the certificate. |
|
|
object |
The information about the certificate. |
||
| Status |
string |
The status of the certificate. Valid values:
|
complete |
| AfterDate |
string |
The expiration date of the certificate. |
2024-05-13 12:59:45 |
| Organization |
string |
The organization associated with the certificate. |
test |
| KeyExportable |
boolean |
Indicates whether the private key is exportable. Valid values:
|
|
| SubjectDn |
string |
The subscription relationship ID. |
SubjectDn |
| Algorithm |
string |
The algorithm. |
RSA |
| CertificateType |
string |
The type of the certificate. Valid values:
|
Server |
| Identifier |
string |
The identifier of the certificate. |
1ef539a8-1e1f-6b88-8c11-21cf01a203e9 |
| SerialNumber |
string |
The serial number of the certificate. |
3a3ee3c3597d675e |
| Extra |
string |
The extended information. |
{"appId":"APP_PFHMIGUHKDUW6S3N7ZL2"} |
| OrganizationUnit |
string |
The department or organization unit. |
IT |
| BeforeTime |
integer |
The issuance time of the client certificate. This is a UNIX timestamp. Unit: milliseconds. By default, this is the time when you call the API. Note
The BeforeTime and AfterTime parameters must be both left empty or both specified. |
1728921600000 |
| AliasName |
string |
The alias of the certificate. |
test |
| AfterTime |
integer |
The expiration time of the client certificate. This is a UNIX timestamp. Unit: milliseconds. Note
The BeforeTime and AfterTime parameters must be both left empty or both specified. |
1728921600000 |
| Id |
string |
The ID of the data source to which the certificate order belongs. |
1806958 |
| Tags |
array |
The tags of the certificate. |
|
|
string |
A tag of the certificate. |
{"app-57074":"test"} |
|
| CommonName |
string |
The common name of the certificate. |
www.kfsjn.xyz |
| BeforeDate |
string |
The issuance date of the certificate. |
2026-05-19 |
| RequestId |
string |
The ID of the request. |
15C66C7B-671A-4297-9187-2C4477247A74 |
| NextToken |
string |
The token that is used to start the next query. If this parameter is empty, no more results are available. |
1d2db86sca4384811e0b5e8707e68181f |
| MaxResults |
integer |
The maximum number of entries returned in this request. |
20 |
Examples
Success response
JSON format
{
"TotalCount": 10,
"PageCount": 1,
"CurrentPage": 1,
"ShowSize": 50,
"List": [
{
"Status": "complete",
"AfterDate": "2024-05-13 12:59:45",
"Organization": "test",
"KeyExportable": false,
"SubjectDn": "SubjectDn",
"Algorithm": "RSA",
"CertificateType": "Server",
"Identifier": "1ef539a8-1e1f-6b88-8c11-21cf01a203e9",
"SerialNumber": "3a3ee3c3597d675e",
"Extra": "{\"appId\":\"APP_PFHMIGUHKDUW6S3N7ZL2\"}",
"OrganizationUnit": "IT",
"BeforeTime": 1728921600000,
"AliasName": "test",
"AfterTime": 1728921600000,
"Id": "1806958",
"Tags": [
"{\"app-57074\":\"test\"}"
],
"CommonName": "www.kfsjn.xyz",
"BeforeDate": "2026-05-19"
}
],
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"NextToken": "1d2db86sca4384811e0b5e8707e68181f",
"MaxResults": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.