IoT Core Broker Service, gRPC: BrokerService.ListPasswords
Written by
Updated at November 26, 2024
Retrieves the list of passwords for the specified broker.
gRPC request
rpc ListPasswords (ListBrokerPasswordsRequest) returns (ListBrokerPasswordsResponse)
ListBrokerPasswordsRequest
{
"broker_id": "string"
}
Field |
Description |
broker_id |
string Required field. ID of the broker to list passwords in. To get a broker ID make a BrokerService.List request. |
ListBrokerPasswordsResponse
{
"passwords": [
{
"broker_id": "string",
"id": "string",
"created_at": "google.protobuf.Timestamp"
}
]
}
Field |
Description |
passwords[] |
List of passwords for the specified broker. |
BrokerPassword
A broker password.
Field |
Description |
broker_id |
string ID of the broker that the password belongs to. |
id |
string ID of the password. |
created_at |
Creation timestamp. |