IAM Service Account Credentials V1 API - Module Google::Iam::Credentials::V1::IAMCredentials (v1.1.0)

Reference documentation and code samples for the IAM Service Account Credentials V1 API module Google::Iam::Credentials::V1::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.

To load this service and instantiate a REST client:

require "google/iam/credentials/v1/iam_credentials/rest"
client = ::Google::Iam::Credentials::V1::IAMCredentials::Rest::Client.new