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