Method: Google::Auth::Credentials.env_vars

Defined in:
lib/googleauth/credentials.rb

.env_varsArray<String>

The environment variables to search for credentials. Values can either be a file path to the credentials file, or the JSON contents of the credentials file. The env_vars will never be nil. If there are no vars, the empty array is returned.

Returns:

  • (Array<String>)


195
196
197
# File 'lib/googleauth/credentials.rb', line 195

def self.env_vars
  env_vars_internal || []
end