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
- [beanieboi] beanieboi - creator, maintainer