aws-sig-curl

1.1.1 • Public • Published

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

npm install -g aws-sig-curl
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 version are supported since aws-sig-curl passes through everything, adding opnly the signature headers.

About

This module is based on these excellent projects.

Once the signature headers are derived, curl is invoked using Node.js' child_process.spawn.

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i aws-sig-curl

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

4.01 kB

Total Files

4

Last publish

Collaborators

  • eoinsha