Method: Aws::RefreshingCredentials#credentials

Defined in:
lib/aws-sdk-core/refreshing_credentials.rb

#credentialsCredentials

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:



32
33
34
35
# File 'lib/aws-sdk-core/refreshing_credentials.rb', line 32

def credentials
  refresh_if_near_expiration!
  @credentials
end