v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-138818.9 KB
users

Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.

post/v1/{+parent}:importSshPublicKey

Path parameters

parentstring required

Required. The unique ID for the user in format users/{user}.

Query parameters

projectIdstring

The project ID of the Google Cloud Platform project.

regionsstring[]

Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.

Request body

fingerprintstring

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

keystring

Required. Public key text in SSH format, defined by RFC4253 section 6.6.

namestring

Output only. The canonical resource name.

expirationTimeUsecstring int64

An expiration time in microseconds since epoch.

Response

Successful response