Retrieves a list of certificates.
Operation description
The QPS limit for this API is 10 per user. If you exceed this limit, your API calls will be throttled. To avoid impacting your business, please 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 |
Filters certificates modified before this date. |
2025-09-04 |
| AfterDate |
string |
No |
Filters certificates modified after this date. |
2024-05-13 12:59:45 |
| Status |
string |
No |
The status of the certificate. Valid values:
|
ISSUE |
| Type |
string |
No |
The certificate type. Valid values:
|
CLIENT |
| CurrentPage |
integer |
No |
The page number. Default value: 1. |
1 |
| ShowSize |
integer |
No |
The page size. Default value: 50. |
50 |
| MaxResults |
integer |
No |
The maximum number of entries to return. |
20 |
| NextToken |
string |
No |
The token used to retrieve the next page of results. This is the NextToken value from a previous response. If unspecified, the first page is returned. |
1d2db86sca4384811e0b5e8707e68181f |
| ParentIdentifier |
string |
No |
The identifier of the intermediate CA that issued the certificate. |
273ae6bb538d538c70c01f81jh2**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| TotalCount |
integer |
The total number of certificates. |
10 |
| PageCount |
integer |
The number of pages. |
1 |
| CurrentPage |
integer |
The current page number. |
1 |
| ShowSize |
integer |
The page size. |
50 |
| List |
array<object> |
The list of certificates. |
|
|
object |
Details of the certificate. |
||
| Status |
string |
The status of the certificate. Valid values:
|
complete |
| AfterDate |
string |
The expiration time of the certificate. |
2024-05-13 12:59:45 |
| Organization |
string |
The organization specified in the certificate. |
test |
| KeyExportable |
boolean |
Specifies if the private key is exportable. Valid values:
|
true |
| SubjectDn |
string |
The distinguished name (DN) of the certificate subject. |
SubjectDn |
| Algorithm |
string |
The public key algorithm. |
RSA |
| CertificateType |
string |
The type of the certificate. Valid values:
|
Server |
| Identifier |
string |
The unique identifier of the certificate. |
1ef539a8-1e1f-6b88-8c11-21cf01a203e9 |
| SerialNumber |
string |
The certificate serial number. |
3a3ee3c3597d675e |
| Extra |
string |
A JSON string containing extended attributes. |
{"appId":"APP_PFHMIGUHKDUW6S3N7ZL2"} |
| OrganizationUnit |
string |
The organizational unit (OU) specified in the certificate. |
IT |
| BeforeTime |
integer |
The issuance time of the client certificate. This value is a UNIX timestamp. Unit: milliseconds. 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 value is a UNIX timestamp. Unit: milliseconds. Note
The BeforeTime and AfterTime parameters must be both left empty or both specified. |
1728921600000 |
| Id |
integer |
The ID of the data source to which the certificate order belongs. |
1806958 |
| Tags |
array |
The tags of the certificate. |
|
|
string |
The tag of the certificate. |
{"app-57074":"test"} |
|
| CommonName |
string |
The primary domain name of the certificate. |
www.kfsjn.xyz |
| BeforeDate |
string |
The issuance time of the certificate. |
2026-05-19 |
| CustomIdentifier |
string |
A unique, user-defined identifier for the certificate. |
***b86sca4384811e0b5e8707e68*** |
| RequestId |
string |
The ID of the request. |
15C66C7B-671A-4297-9187-2C4477247A74 |
| NextToken |
string |
A token to retrieve the next page of results. If this value is empty, all results have been returned. |
1d2db86sca4384811e0b5e8707e68181f |
| MaxResults |
integer |
The maximum number of entries returned. |
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": true,
"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",
"CustomIdentifier": "***b86sca4384811e0b5e8707e68***"
}
],
"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.