Certificate Manager Private CA API, REST: PrivateCaCertificate.List
Lists the certificates issued by a given Certificate Authority (CA).
HTTP request
GET https://private-ca.certificate-manager.api.cloud.yandex.net/privateca/v1/privateCertificates
Query parameters
Request to list certificates issued by a specific Certificate Authority.
Field |
Description |
certificateAuthorityId |
string Required field. The ID of the Certificate Authority issuing the certificates. |
pageSize |
string (int64) Maximum number of certificates to return per page, optional. Default is 100. |
pageToken |
string Page token, allows request for the next page of results from a previous list call. |
Response
HTTP Code: 200 - OK
{
"certificates": [
{
"id": "string",
"certificateAuthorityId": "string",
"name": "string",
"description": "string",
"issuedAt": "string",
"notAfter": "string",
"notBefore": "string",
"deletionProtection": "boolean",
"createdAt": "string",
"updatedAt": "string"
}
],
"nextPageToken": "string"
}
Response to the ListCertificates
request, containing the certificates and pagination information.
Field |
Description |
certificates[] |
The list of certificates issued by the Certificate Authority. |
nextPageToken |
string Token to use to fetch the next page of results, if there are more results. |
PrivateCertificate
A private certificate issued by a private certificate authority.
Field |
Description |
id |
string ID of the private certificate. |
certificateAuthorityId |
string ID of the certificate authority that issued the private certificate. |
name |
string Name of the private certificate. |
description |
string Description of the private certificate. |
issuedAt |
string (date-time) Time when the private certificate was issued. String in RFC3339 To work with values in this field, use the APIs described in the |
notAfter |
string (date-time) Time after which the private certificate is not valid. String in RFC3339 To work with values in this field, use the APIs described in the |
notBefore |
string (date-time) Time before which the private certificate is not valid. String in RFC3339 To work with values in this field, use the APIs described in the |
deletionProtection |
boolean Flag that protects deletion of the private certificate. |
createdAt |
string (date-time) Time when the private certificate was created. String in RFC3339 To work with values in this field, use the APIs described in the |
updatedAt |
string (date-time) Time when the private certificate was updated. String in RFC3339 To work with values in this field, use the APIs described in the |