googleauth - Class Google::Auth::ExternalAccount::IdentityPoolCredentials (v1.15.0)

Reference documentation and code samples for the googleauth class Google::Auth::ExternalAccount::IdentityPoolCredentials.

This module handles the retrieval of credentials from Google Cloud by utilizing the any 3PI provider then exchanging the credentials for a short-lived Google Cloud access token.

Inherits

  • Object

Methods

#client_id

def client_id()

Will always be nil, but method still gets used.

#initialize

def initialize(options = {}) -> IdentityPoolCredentials

Initialize from options map.

Parameter
  • options (Hash) — Configuration options
Returns
Raises

#retrieve_subject_token!

def retrieve_subject_token!() -> String

Implementation of BaseCredentials retrieve_subject_token!

Returns
  • (String) — The subject token
Raises