Send feedback
LoginProfile
Stay organized with collections
Save and categorize content based on your preferences.
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-29 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?