Skip to content
This library signs your HTTP requests using AWS v4
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spec
src
.crystal-version
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
shard.yml

README.md

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

You can’t perform that action at this time.