Skip to main content

ssh_public_keys

Overview

Namessh_public_keys
TypeResource
Idgoogle.oslogin.ssh_public_keys

Fields

NameDatatypeDescription
namestringOutput only. The canonical resource name.
expirationTimeUsecstringAn expiration time in microseconds since epoch.
fingerprintstringOutput only. The SHA-256 fingerprint of the SSH public key.
keystringPublic key text in SSH format, defined by RFC4253 section 6.6.

Methods

NameAccessible byRequired ParamsDescription
getSELECTsshPublicKeysId, usersIdRetrieves an SSH public key.
createINSERTusersIdCreate an SSH public key
deleteDELETEsshPublicKeysId, usersIdDeletes an SSH public key.
patchEXECsshPublicKeysId, usersIdUpdates an SSH public key and returns the profile information. This method supports patch semantics.