IoT Core Service, gRPC: RegistryService.ListPasswords
Статья создана
Обновлена 17 октября 2024 г.
Retrieves the list of passwords for the specified registry.
gRPC request
rpc ListPasswords (ListRegistryPasswordsRequest) returns (ListRegistryPasswordsResponse)
ListRegistryPasswordsRequest
{
"registryId": "string"
}
Field |
Description |
registryId |
string Required field. ID of the registry to list passwords in. To get a registry ID make a RegistryService.List request. |
ListRegistryPasswordsResponse
{
"passwords": [
{
"registryId": "string",
"id": "string",
"createdAt": "google.protobuf.Timestamp"
}
]
}
Field |
Description |
passwords[] |
List of passwords for the specified registry. |
RegistryPassword
A registry password.
Field |
Description |
registryId |
string ID of the registry that the password belongs to. |
id |
string ID of the password. |
createdAt |
Creation timestamp. |