IoT Core Service, gRPC: DeviceService.ListPasswords
Written by
Updated at October 17, 2024
Retrieves the list of passwords for the specified device.
gRPC request
rpc ListPasswords (ListDevicePasswordsRequest) returns (ListDevicePasswordsResponse)
ListDevicePasswordsRequest
{
"deviceId": "string"
}
Field |
Description |
deviceId |
string Required field. ID of the registry to list passwords in. To get a registry ID make a RegistryService.List request. |
ListDevicePasswordsResponse
{
"passwords": [
{
"deviceId": "string",
"id": "string",
"createdAt": "google.protobuf.Timestamp"
}
]
}
Field |
Description |
passwords[] |
List of passwords for the specified device. |
DevicePassword
A device password.
Field |
Description |
deviceId |
string ID of the device that the password belongs to. |
id |
string ID of the password. |
createdAt |
Creation timestamp. |