IoT Core Service, gRPC: RegistryService.ListCertificates
Статья создана
Обновлена 26 ноября 2024 г.
Retrieves the list of registry certificates for the specified registry.
gRPC request
rpc ListCertificates (ListRegistryCertificatesRequest) returns (ListRegistryCertificatesResponse)
ListRegistryCertificatesRequest
{
"registry_id": "string"
}
Field |
Description |
registry_id |
string Required field. ID of the registry to list certificates for. |
ListRegistryCertificatesResponse
{
"certificates": [
{
"registry_id": "string",
"fingerprint": "string",
"certificate_data": "string",
"created_at": "google.protobuf.Timestamp"
}
]
}
Field |
Description |
certificates[] |
List of certificates for the specified registry. |
RegistryCertificate
A registry certificate. For more information, see Managing registry certificates.
Field |
Description |
registry_id |
string ID of the registry that the certificate belongs to. |
fingerprint |
string SHA256 hash of the certificates. |
certificate_data |
string Public part of the certificate. |
created_at |
Creation timestamp. |