Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beanieboi/aws-signer.cr
This library signs your HTTP requests using AWS v4
https://github.com/beanieboi/aws-signer.cr
Last synced: 24 days ago
JSON representation
This library signs your HTTP requests using AWS v4
- Host: GitHub
- URL: https://github.com/beanieboi/aws-signer.cr
- Owner: beanieboi
- License: mit
- Created: 2016-06-04T17:59:55.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-02-14T10:51:44.000Z (over 3 years ago)
- Last Synced: 2024-08-01T17:36:36.200Z (3 months ago)
- Language: Crystal
- Homepage:
- Size: 22.5 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-crystal - aws-signer.cr - This library signs your HTTP requests using AWS v4 (Third-party APIs)
- awesome-crystal - aws-signer.cr - This library signs your HTTP requests using AWS v4 (Third-party APIs)
- awesome-crystal - aws-signer.cr - This library signs your HTTP requests using AWS v4 (Third-party APIs)
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"
endsigned = 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