class Aws::Credentials::SimpleCredentials

Overview

Simply holds given credentials.

Included Modules

Defined in:

aws-credentials/provider/simple_credentials.cr

Constructors

Instance Method Summary

Instance methods inherited from module Aws::Credentials::CredentialsWithExpiration

unresolved_or_expired(maybe_resolved_credentials : Credentials | Nil, current_time_provider : Proc(Time)) unresolved_or_expired

Instance methods inherited from module Aws::Credentials::Provider

credentials : Credentials credentials, credentials? : Credentials | Nil credentials?, refresh : Nil refresh

Constructor Detail

def self.new(access_key_id : String, secret_access_key : String, session_token : String | Nil = nil, expiration : Time | Nil = nil, current_time_provider : Proc(Time) = -> do Time.utc end) #

[View source]

Instance Method Detail

def credentials : Credentials #
Description copied from module Aws::Credentials::Provider

Resolving AWS::Credentials::Credentials.

Credential not resolvable then raise Aws::Credentials||MissingCredentials error.


[View source]