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