aws_signer

Version, currently 0.1.22 versions

github.com/beanieboi/aws-signer.cr

This library signs your HTTP requests using AWS v4

13 stars
0 dependents
License: MIT

Nothing has been indexed for 0.1.2 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

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

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.1.2. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

# 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