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
Extended By
Includes
Methods
#client_id
def client_id()
Will always be nil, but method still gets used.
#initialize
def initialize(options = {}) -> IdentityPoolCredentials
Initialize from options map.
- audience (string)
- credential_source (hash{symbol => value}) — credential_source is a hash that contains either source file or url. credential_source_format is either text or json. To define how we parse the credential response.
- (IdentityPoolCredentials) — a new instance of IdentityPoolCredentials
#retrieve_subject_token!
def retrieve_subject_token!()
Implementation of BaseCredentials retrieve_subject_token!