public sealed class GetServiceAccountKeyRequest : IMessage<GetServiceAccountKeyRequest>, IEquatable<GetServiceAccountKeyRequest>, IDeepCloneable<GetServiceAccountKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class GetServiceAccountKeyRequest.
Required. The resource name of the service account key in the following format:
projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}.
Using - as a wildcard for the PROJECT_ID will infer the project from
the account. The ACCOUNT value can be the email address or the
unique_id of the service account.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eGetServiceAccountKeyRequest\u003c/code\u003e class within the Identity and Access Management (IAM) v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetServiceAccountKeyRequest\u003c/code\u003e is a class used to request a specific service account key by its ID, and it implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API available is 2.4.0, and this document specifically details version 2.1.0, with a history of previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetServiceAccountKeyRequest\u003c/code\u003e class has three main properties: \u003ccode\u003eKeyName\u003c/code\u003e (a typed view over the resource name), \u003ccode\u003eName\u003c/code\u003e (the resource name of the service account key), and \u003ccode\u003ePublicKeyType\u003c/code\u003e (specifying the format of the public key).\u003c/p\u003e\n"]]],[],null,[]]