Cloud Organization API, gRPC: UserSshKeyService.List
Статья создана
Обновлена 17 октября 2024 г.
gRPC request
rpc List (ListUserSshKeysRequest) returns (ListUserSshKeysResponse)
ListUserSshKeysRequest
{
"organizationId": "string",
"subjectId": "string",
"pageSize": "int64",
"pageToken": "string"
}
Field |
Description |
organizationId |
string Required field. |
subjectId |
string if empty, list all organization keys |
pageSize |
int64 |
pageToken |
string |
ListUserSshKeysResponse
{
"sshKeys": [
{
"id": "string",
"subjectId": "string",
"data": "string",
"name": "string",
"fingerprint": "string",
"organizationId": "string",
"createdAt": "google.protobuf.Timestamp",
"expiresAt": "google.protobuf.Timestamp"
}
],
"nextPageToken": "string"
}
Field |
Description |
sshKeys[] |
|
nextPageToken |
string |
UserSshKey
Field |
Description |
id |
string |
subjectId |
string |
data |
string |
name |
string |
fingerprint |
string |
organizationId |
string |
createdAt |
|
expiresAt |
Used for temporary keys, if empty the key doesn't expire |