simple-s3-signer
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Simple S3 signer

npm version

This library will give you a presigned S3 URL, with very few options.

Example

import { signedS3Url } from "simple-s3-signer";

const signed = signedS3Url({
    bucket: "mybucket",
    key: "/my-object-key",
    region: "us-east-1",
    accessKeyId: "AWS_ACCESSS_KEY_ID",
    secretAccessKey: "AWS_SECRET_ACCESS_KEY"
});

fetch(signed).then(...);

Readme

Keywords

none

Package Sidebar

Install

npm i simple-s3-signer

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

4.25 kB

Total Files

6

Last publish

Collaborators

  • aeons