IoT Core Broker Service, gRPC: BrokerService.ListCertificates
Статья создана
Обновлена 17 октября 2024 г.
Retrieves the list of broker certificates for the specified broker.
gRPC request
rpc ListCertificates (ListBrokerCertificatesRequest) returns (ListBrokerCertificatesResponse)
ListBrokerCertificatesRequest
{
"brokerId": "string"
}
Field |
Description |
brokerId |
string Required field. ID of the broker to list certificates for. |
ListBrokerCertificatesResponse
{
"certificates": [
{
"brokerId": "string",
"fingerprint": "string",
"certificateData": "string",
"createdAt": "google.protobuf.Timestamp"
}
]
}
Field |
Description |
certificates[] |
List of certificates for the specified broker. |
BrokerCertificate
A broker certificate.
Field |
Description |
brokerId |
string ID of the broker that the certificate belongs to. |
fingerprint |
string SHA256 hash of the certificates. |
certificateData |
string Public part of the certificate. |
createdAt |
Creation timestamp. |