module AwsSigner

Defined in:

aws_signer.cr
aws_signer/config.cr
aws_signer/version.cr

Constant Summary

DATE_PATTERNS = {"%a, %d %b %Y %H:%M:%S %z", "%A, %d-%b-%y %H:%M:%S %z", "%a %b %e %H:%M:%S %Y", "%FT%H:%M:%S%:z"}
RFC8601BASIC = "%Y%m%dT%H%M%SZ"
VERSION = "0.1.3"

Class Method Summary

Class Method Detail

def self.config #

[View source]
def self.configure(&) #

[View source]
def self.hexdigest(value) #

[View source]
def self.hexhmac(key, value) #

[View source]
def self.hmac(key, value) #

[View source]
def self.parse_time(time_str : String) : Time | Nil #

[View source]
def self.sign(service : String, method : String, uri : URI, headers : Hash(String, String), body : String) : Hash(String, String) #

[View source]