AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Module: Aws::CredentialProvider

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#credentialsCredentials (readonly)

Returns:



7
8
9
# File 'gems/aws-sdk-core/lib/aws-sdk-core/credential_provider.rb', line 7

def credentials
  @credentials
end

Instance Method Details

#set?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'gems/aws-sdk-core/lib/aws-sdk-core/credential_provider.rb', line 10

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