@return [Credentials]
@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.
@see credentials
# File lib/aws-sdk-core/credential_provider.rb, line 18 def access_key_id credentials ? credentials.access_key_id : nil end
@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.
@see credentials
# File lib/aws-sdk-core/credential_provider.rb, line 27 def secret_access_key credentials ? credentials.secret_access_key : nil end
@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.
@see credentials
# File lib/aws-sdk-core/credential_provider.rb, line 36 def session_token credentials ? credentials.session_token : nil end
@return [Boolean]
# File lib/aws-sdk-core/credential_provider.rb, line 10 def set? !!credentials && credentials.set? end