Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eoinsha/aws-sig-curl
cURL wrapper for AWS-v4 signed requests
https://github.com/eoinsha/aws-sig-curl
aws curl request signature
Last synced: 21 days ago
JSON representation
cURL wrapper for AWS-v4 signed requests
- Host: GitHub
- URL: https://github.com/eoinsha/aws-sig-curl
- Owner: eoinsha
- License: mit
- Created: 2019-05-19T09:24:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T10:18:37.000Z (almost 3 years ago)
- Last Synced: 2024-12-05T02:04:25.282Z (about 1 month ago)
- Topics: aws, curl, request, signature
- Language: JavaScript
- Size: 56.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-sig-curl
**aws-sig-curl** is a cURL command wrapper that adds AWS v4 signature headers.
It supports credentials in AWS environment variables and profiles (including assumed roles for cross account access, etc.)
## Usage
```sh
npm install -g aws-sig-curl
``````sh
AWS_PROFILE=myprofile aws-sig-curl -v https://gwid.execute-api.eu-west-1.amazonaws.com/prod/user/
```All options supported by your underlying [cURL](https://curl.haxx.se/) version are supported since `aws-sig-curl` passes through everything, adding opnly the signature headers.
## About
This module is based on these excellent projects.
- [awscred](https://github.com/mhart/awscred)
- [aws4](https://github.com/mhart/aws4)
- [cURL](https://curl.haxx.se/)Once the signature headers are derived, `curl` is invoked using Node.js' [`child_process.spawn`](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options).
## LICENSE
[MIT](./LICENSE)