class

Awscr::Signer::Credentials

Inherits Comparable < Reference < Object

AWS access key and secret access key

credentials = Credentials.new("key", "secret")
credentials.to_s   # => "key:secret"
credentials.key    # => "key"
credentials.secret # => "secret"

Constructors

new(key : String, secret : String)
Source

Instance methods

<=>(other : Credentials)

Compare two Credentials object, returns true if equal, false otherwise.

Source
key

The AWS access key

Source
secret

The AWS secret key

Source
to_s(io : IO)

Returns the object in a "key:secret" form

Source