IoT Core Service, gRPC: DeviceService.ListCertificates
Written by
Updated at November 26, 2024
Retrieves the list of device certificates for the specified device.
gRPC request
rpc ListCertificates (ListDeviceCertificatesRequest) returns (ListDeviceCertificatesResponse)
ListDeviceCertificatesRequest
{
"device_id": "string"
}
Field |
Description |
device_id |
string Required field. ID of the device to list certificates for. |
ListDeviceCertificatesResponse
{
"certificates": [
{
"device_id": "string",
"fingerprint": "string",
"certificate_data": "string",
"created_at": "google.protobuf.Timestamp"
}
]
}
Field |
Description |
certificates[] |
List of certificates for the specified device. |
DeviceCertificate
A device certificate. For more information, see Managing device certificates.
Field |
Description |
device_id |
string ID of the device that the certificate belongs to. |
fingerprint |
string SHA256 hash of the certificate. |
certificate_data |
string Public part of the certificate. |
created_at |
Creation timestamp. |