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

Module: Aws::CredentialProvider

Included in:
AssumeRoleCredentials, AssumeRoleWebIdentityCredentials, ECSCredentials, InstanceProfileCredentials, ProcessCredentials, SharedCredentials
Defined in:
gems/aws-sdk-core/lib/aws-sdk-core/credential_provider.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#credentialsCredentials (readonly)

Returns:



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

def credentials
  @credentials
end

Instance Method Details

#set?Boolean

Returns:

  • (Boolean)


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

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