class Amazonite::Sts::Credentials

Overview

Amazon Web Services credentials for API authentication.

Defined in:

sts/credentials.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(access_key_id : String, secret_access_key : String, session_token : String, expiration : Time) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def access_key_id : String #

The access key ID that identifies the temporary security credentials.


[View source]
def access_key_id=(access_key_id : String) #

The access key ID that identifies the temporary security credentials.


[View source]
def expiration : Time #

The date on which the current credentials expire.


[View source]
def expiration=(expiration : Time) #

The date on which the current credentials expire.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def secret_access_key : String #

The secret access key that can be used to sign requests.


[View source]
def secret_access_key=(secret_access_key : String) #

The secret access key that can be used to sign requests.


[View source]
def session_token : String #

The token that users must pass to the service API to use the temporary credentials.


[View source]
def session_token=(session_token : String) #

The token that users must pass to the service API to use the temporary credentials.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]