Skip to content

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

Notifications You must be signed in to change notification settings

r7kamura/stackable-fetcher-aws-signer-v4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stackable-fetcher-aws-signer-v4

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

Install

npm install --save stackable-fetcher-aws-signer-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
  });

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published