Cloud Organization API, gRPC: UserSshKeyService.List
Written by
Updated at November 26, 2024
gRPC request
rpc List (ListUserSshKeysRequest) returns (ListUserSshKeysResponse)
ListUserSshKeysRequest
{
"organization_id": "string",
"subject_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
organization_id |
string Required field. |
subject_id |
string if empty, list all organization keys |
page_size |
int64 |
page_token |
string |
ListUserSshKeysResponse
{
"ssh_keys": [
{
"id": "string",
"subject_id": "string",
"data": "string",
"name": "string",
"fingerprint": "string",
"organization_id": "string",
"created_at": "google.protobuf.Timestamp",
"expires_at": "google.protobuf.Timestamp"
}
],
"next_page_token": "string"
}
Field |
Description |
ssh_keys[] |
|
next_page_token |
string |
UserSshKey
Field |
Description |
id |
string |
subject_id |
string |
data |
string |
name |
string |
fingerprint |
string |
organization_id |
string |
created_at |
|
expires_at |
Used for temporary keys, if empty the key doesn't expire |