@mapbox/s3signed
v0.1.1
Published
Generate a signed S3 URL
Downloads
1,761
Maintainers
Keywords
Readme
🌇 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 forms3://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