aws-s3-signurl
v1.4.0
Published
Create signed urls for a bucket/key or the contents of a bucket
Downloads
21
Readme
aws-s3-signurl
The AWS CLI does not currently have the ability to sign urls for time restricted access to secure buckets. This simple utility takes a bucketname and (optionally) a keyname and outputs a signed url for them. If just the bucketname is provided a signed url for each of the keys is output. If the key is specified also, then just that bucket/key combo is output.
Credentials are loaded from environment variables or from ~/.aws/config
, if present. See the Setting AWS Credentials for more details.
install:
npm install --global aws-s3-signurl
usage:
aws-s3-signurl {bucketname} [{keyname}] [{expires}]
If a just a bucketname is supplied, the contents of the bucket will be listed.
If a key is supplied, then just that key will be output.
If an expires is supplied (number, in seconds) then the link will be valid for that many seconds (default = 900 seconds).