REST Resource: users.sshPublicKeys

Resource: SshPublicKey

The SSH public key information associated with a Google account.

JSON representation
{"key":string,"expirationTimeUsec":string,"fingerprint":string,"name":string}
Fields
key

string

Public key text in SSH format, defined byRFC4253 section 6.6.

expirationTimeUsec

string (int64 format)

An expiration time in microseconds since epoch.

fingerprint

string

Output only. The SHA-256 fingerprint of the SSH public key.

name

string

Output only. The canonical resource name.

Methods

create

Create an SSH public key

delete

Deletes an SSH public key.

get

Retrieves an SSH public key.

patch

Updates an SSH public key and returns the profile information.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-28 UTC.