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