This library signs your HTTP requests using AWS v4
Add this to your application's shard.yml
:
dependencies:
aws_signer:
github: beanieboi/aws-signer.cr
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"]
see CONTRIBUTING.md
- [beanieboi] beanieboi - creator, maintainer