Certificate Manager Private CA API, gRPC: PrivateCaService.List
Lists the available Certificate Authorities (CAs).
gRPC request
rpc List (ListCertificateAuthoritiesRequest) returns (ListCertificateAuthoritiesResponse)
ListCertificateAuthoritiesRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string"
}
List Certificate Authorities in specified folder.
This supports pagination.
Field |
Description |
folder_id |
string Required field. The folder in which CA would be listed. |
page_size |
int64 The maximum number of results to return per page. Couldn't exceed 100, default value is 100 |
page_token |
string Token to retrieve the next page of results. |
ListCertificateAuthoritiesResponse
{
"certificate_authorities": [
{
"id": "string",
"folder_id": "string",
"name": "string",
"description": "string",
"parent_certificate_authority_id": "string",
"status": "Status",
"issued_at": "google.protobuf.Timestamp",
"not_after": "google.protobuf.Timestamp",
"not_before": "google.protobuf.Timestamp",
"crl_endpoint": "string",
"end_entities_ttl_limit_days": "int64",
"deletion_protection": "bool",
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp"
}
],
"next_page_token": "string"
}
Response containing the Certificate Authorities list from the ListCertificateAuthorities request.
Field |
Description |
certificate_authorities[] |
List of matching Certificate Authorities. |
next_page_token |
string Token to retrieve the next page of results, if they were paginated. |
CertificateAuthority
A certificate authority (CA) used to sign certificates.
Field |
Description |
id |
string ID of the certificate authority. |
folder_id |
string ID of the folder that the certificate authority belongs to. |
name |
string Name of the certificate authority. |
description |
string Description of the certificate authority. |
parent_certificate_authority_id |
string ID of the parent certificate authority that signed this certificate authority if any. |
status |
enum Status Status of the certificate authority.
|
issued_at |
Time when the certificate authority was issued. |
not_after |
Time after which the certificate authority is not valid. |
not_before |
Time before which the certificate authority is not valid. |
crl_endpoint |
string Endpoint of the certificate revocation list (CRL) for the certificate authority. |
end_entities_ttl_limit_days |
int64 Maximum allowed TTL (in days) for end-entity certificates issued by this CA. |
deletion_protection |
bool Flag that protects deletion of the certificate authority. |
created_at |
Time when the certificate authority was created. |
updated_at |
Time when the certificate authority was last updated. |