0.1.1 • Published 3 years ago

@mapbox/s3signed v0.1.1

Weekly downloads
24
License
ISC
Repository
-
Last release
3 years ago

🌇 As of January 2020, this module is deprecated. It is provided as-is, with no warranty. We are not accepting new bugfixes or feature requests at this time.

s3signed

Generate a temporary signed URL for a private object on S3.

Installation

npm install -g @mapbox/s3signed

Usage

First, confirm that your shell is configured with appropriate AWS credentials.

s3signed <s3 url> [seconds until expires]
  • s3url must be of the form s3://my-bucket/my/private/file
  • defaults to expire in 10 min if unspecified

Example

# Copy the signed URL to the clipboard on OSX
$ s3signed s3://my-bucket/my/private/file 3600 | pbcopy