class Awscr::Signer::Credentials
- Awscr::Signer::Credentials
- Reference
- Object
Overview
AWS access key and secret access key
credentials = Credentials.new("key", "secret")
credentials.to_s # => "key:secret"
credentials.key # => "key"
credentials.secret # => "secret"
Included Modules
- Comparable(Awscr::Signer::Credentials)
Defined in:
awscr-signer/core/credentials.crConstructors
Instance Method Summary
-
#<=>(creds : Credentials)
Compare two
Credentials
object, returns true if equal, false otherwise. -
#key : String
The AWS access key
-
#secret : String
The AWS secret key
-
#to_s(io : IO)
Returns the object in a "key:secret" form
Constructor Detail
Instance Method Detail
def <=>(creds : Credentials)
#
Compare two Credentials
object, returns true if equal, false
otherwise.