Reference documentation and code samples for the IAM Service Account Credentials v1 API class IAMCredentials.
A service account is a special type of Google account that belongs to your
application or a virtual machine (VM), instead of to an individual end user.
Your application assumes the identity of the service account to call Google
APIs, so that the users aren't directly involved.
Service account credentials are used to temporarily assume the identity
of the service account. Supported credential types include OAuth 2.0 access
tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and
more.
public static void BindService(ServiceBinderBase serviceBinder, IAMCredentials.IAMCredentialsBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["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 page provides documentation for the \u003ccode\u003eIAMCredentials\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Iam.Credentials.V1\u003c/code\u003e namespace, detailing its role in the IAM Service Account Credentials v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIAMCredentials\u003c/code\u003e class facilitates the use of service accounts, which are special Google accounts that applications or VMs can utilize instead of individual users, to call Google APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports temporary credentials for service accounts, including OAuth 2.0 access tokens, OpenID Connect ID tokens, and self-signed JSON Web Tokens (JWTs).\u003c/p\u003e\n"],["\u003cp\u003eIt includes methods like \u003ccode\u003eBindService\u003c/code\u003e to create service definitions for server registration and to register service methods with a service binder, offering customization in service binding.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of the API, with the latest being version 2.4.0, and also includes inherited members from the base object class.\u003c/p\u003e\n"]]],[],null,[]]