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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[],[]]