IoT Core Service, gRPC: RegistryService.ListCertificates
Статья создана
Обновлена 17 октября 2024 г.
Retrieves the list of registry certificates for the specified registry.
gRPC request
rpc ListCertificates (ListRegistryCertificatesRequest) returns (ListRegistryCertificatesResponse)
ListRegistryCertificatesRequest
{
"registryId": "string"
}
Field |
Description |
registryId |
string Required field. ID of the registry to list certificates for. |
ListRegistryCertificatesResponse
{
"certificates": [
{
"registryId": "string",
"fingerprint": "string",
"certificateData": "string",
"createdAt": "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 |
registryId |
string ID of the registry that the certificate belongs to. |
fingerprint |
string SHA256 hash of the certificates. |
certificateData |
string Public part of the certificate. |
createdAt |
Creation timestamp. |