IoT Core Service, gRPC: DeviceService.ListCertificates
Written by
Updated at October 17, 2024
Retrieves the list of device certificates for the specified device.
gRPC request
rpc ListCertificates (ListDeviceCertificatesRequest) returns (ListDeviceCertificatesResponse)
ListDeviceCertificatesRequest
{
"deviceId": "string"
}
Field |
Description |
deviceId |
string Required field. ID of the device to list certificates for. |
ListDeviceCertificatesResponse
{
"certificates": [
{
"deviceId": "string",
"fingerprint": "string",
"certificateData": "string",
"createdAt": "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 |
deviceId |
string ID of the device that the certificate belongs to. |
fingerprint |
string SHA256 hash of the certificate. |
certificateData |
string Public part of the certificate. |
createdAt |
Creation timestamp. |