aws_signer

Version, currently 0.1.32 versions

github.com/beanieboi/aws-signer.cr

This library signs your HTTP requests using AWS v4

13 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  aws_signer:
    github: beanieboi/aws-signer.cr
    version: ~> 0.1.3

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
MIT
Author
beanieboi <beanie@benle.de>

Dependencies

This version declares no dependencies.

README

# AWS Signer

This library signs your HTTP requests using AWS v4

## Installation


Add this to your application's `shard.yml`:

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


## Usage


```crystal
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][contributing]

[contributing]: https://github.com/beanieboi/aws-signer.cr/blob/main/CONTRIBUTING.md

## Contributors

- [[beanieboi]](https://github.com/[beanieboi]) beanieboi - creator, maintainer