stackable-fetcher-aws-signer-v4

0.0.1 • Public • Published

stackable-fetcher-aws-signer-v4

A stackable-fetcher middleware for signing requests with AWS Signature v4.

Usage

// Create a new Fetcher instance
var fetcher = new Fetcher();

// Build your middleware stack
fetcher.use(
  require('stackable-fetcher-aws-signer-v4'),
  {
    accessKeyId: '...',
    secretAccessKey: '...'
  }
)

// Send a signed request
fetcher
  .get('https://apigateway.us-east-1.amazonaws.com/restapis')
  .then(function (response) {
    // ... do your task
  });

Readme

Keywords

none

Package Sidebar

Install

npm i stackable-fetcher-aws-signer-v4

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • r7kamura