Module: Aws::CredentialProvider
- Included in:
- AssumeRoleCredentials, AssumeRoleWebIdentityCredentials, ECSCredentials, InstanceProfileCredentials, ProcessCredentials, SSOCredentials, SharedCredentials
- Defined in:
- lib/aws-sdk-core/credential_provider.rb
Instance Attribute Summary collapse
- #credentials ⇒ Credentials readonly
- #expiration ⇒ Time readonly
Instance Method Summary collapse
Instance Attribute Details
#credentials ⇒ Credentials (readonly)
7 8 9 |
# File 'lib/aws-sdk-core/credential_provider.rb', line 7 def credentials @credentials end |
#expiration ⇒ Time (readonly)
10 11 12 |
# File 'lib/aws-sdk-core/credential_provider.rb', line 10 def expiration @expiration end |
Instance Method Details
#set? ⇒ Boolean
13 14 15 |
# File 'lib/aws-sdk-core/credential_provider.rb', line 13 def set? !!@credentials && @credentials.set? end |