LoginProfile

The user profile information used for logging in to a virtual machine on Google Compute Engine.

JSON representation
{
  "name": string,
  "posixAccounts": [
    {
      object (PosixAccount)
    }
  ],
  "sshPublicKeys": {
    string: {
      object (SshPublicKey)
    },
    ...
  },
  "securityKeys": [
    {
      object (SecurityKey)
    }
  ]
}
Fields
name

string

Required. A unique user ID.

posixAccounts[]

object (PosixAccount)

The list of POSIX accounts associated with the user.

sshPublicKeys

map (key: string, value: object (SshPublicKey))

A map from SSH public key fingerprint to the associated key object.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

securityKeys[]

object (SecurityKey)

The registered security key credentials for a user.

SecurityKey

The credential information for a Google registered security key.

JSON representation
{
  "publicKey": string,
  "privateKey": string,

  // Union field protocol_type can be only one of the following:
  "universalTwoFactor": {
    object (UniversalTwoFactor)
  },
  "webAuthn": {
    object (WebAuthn)
  }
  // End of list of possible types for union field protocol_type.
  "deviceNickname": string
}
Fields
publicKey

string

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

privateKey

string

Hardware-backed private key text in SSH format.

Union field protocol_type. The FIDO protocol type used to register this credential. protocol_type can be only one of the following:
universalTwoFactor

object (UniversalTwoFactor)

The U2F protocol type.

webAuthn

object (WebAuthn)

The Web Authentication protocol type.

deviceNickname

string

The security key nickname explicitly set by the user.

UniversalTwoFactor

Security key information specific to the U2F protocol.

JSON representation
{
  "appId": string
}
Fields
appId

string

Application ID for the U2F protocol.

WebAuthn

Security key information specific to the Web Authentication protocol.

JSON representation
{
  "rpId": string
}
Fields
rpId

string

Relying party ID for Web Authentication.