aws-sdk-signature-v2
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

SignatureV2 for S3Client

Amazon removed support for signature v2 support in AWS SDK for JavaScript v3 since it's now mostly deprecated across AWS infrastructure. Unfortunately, with the widespread adoption of S3 protocols, the need for less secure (but much computationally lighter) v2 signing is still desirable.

This is an attempt to fill that gap!

Example

import { S3Client } from '@aws-sdk/client-s3';
import { SignatureV2 } from 'aws-sdk-signature-v2';

const s3client = new S3Client({
  signerConstructor: SignatureV2,
  endpoint: '<endpoint>',
  region: '<region>',
  credentials: {
    accessKeyId: '<key_id>',
    secretAccessKey: '<secret>',
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i aws-sdk-signature-v2

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

18.2 kB

Total Files

11

Last publish

Collaborators

  • klowner