Skip to content

beanieboi/aws-signer.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Signer

This library signs your HTTP requests using AWS v4

Installation

Add this to your application's shard.yml:

dependencies:
  aws_signer:
    github: beanieboi/aws-signer.cr

Usage

require "aws_signer"

AwsSigner.configure do |config|
  config.access_key = "AKIDEXAMPLE"
  config.secret_key = "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY"
  config.region = "us-east-1"
end

signed = AwsSigner.sign("GET", uri, headers, body)
signed["Authorization"]

Contributing

see CONTRIBUTING.md

Contributors

About

This library signs your HTTP requests using AWS v4

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published