A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/CredentialProvider.html below:

CredentialProvider — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::CredentialProvider Instance Attribute Summary collapse Instance Method Summary collapse Instance Attribute Details #credentialsCredentials
7
8
9
# File 'aws-sdk-core/lib/aws-sdk-core/credential_provider.rb', line 7

def credentials
  @credentials
end
Instance Method Details #access_key_id ⇒ Object Deprecated.

Deprecated in 2.1.0. This method is subject to errors from a race condition when called against refreshable credential objects. Will be removed in 2.2.0.

18
19
20
# File 'aws-sdk-core/lib/aws-sdk-core/credential_provider.rb', line 18

def access_key_id
  credentials ? credentials.access_key_id : nil
end
#secret_access_key ⇒ Object Deprecated.

Deprecated in 2.1.0. This method is subject to errors from a race condition when called against refreshable credential objects. Will be removed in 2.2.0.

27
28
29
# File 'aws-sdk-core/lib/aws-sdk-core/credential_provider.rb', line 27

def secret_access_key
  credentials ? credentials.secret_access_key : nil
end
#session_token ⇒ Object Deprecated.

Deprecated in 2.1.0. This method is subject to errors from a race condition when called against refreshable credential objects. Will be removed in 2.2.0.

36
37
38
# File 'aws-sdk-core/lib/aws-sdk-core/credential_provider.rb', line 36

def session_token
  credentials ? credentials.session_token : nil
end
#set? ⇒ Boolean
10
11
12
# File 'aws-sdk-core/lib/aws-sdk-core/credential_provider.rb', line 10

def set?
  !!credentials && credentials.set?
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4