Socket
Book a DemoInstallSign in
Socket

heimdall-s3

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heimdall-s3

Download and check files with S3 versioning

0.0.5
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Heimdall

Create a credentials file at ~/.aws/credentials on Mac/Linux or C:\Users\USERNAME\.aws\credentials on Windows

[default]

aws_access_key_id = your_access_key
aws_secret_access_key = your_secret_key

Or directly in your console:

AWS_ACCESS_KEY_ID=your_access_key \
AWS_SECRET_ACCESS_KEY=your_secret_key \
heimdall-s3 COMMAND [ARGS] [OPTIONS]

Install

Just use npm

npm install -g heimdall-s3

History

./heimdall-s3 history my/path/to/file.txt --region eu-west-1 --bucket my.bucket.org

The output is something like:

 #   Rev               Date                                      Path
 0   xxxxxxxxxxxxxx1   Thu Feb 18 2016 20:01:24 GMT+0100 (CET)   path/to/file.xml
 1   xxxxxxxxxxxxxx2   Thu Feb 18 2016 14:21:05 GMT+0100 (CET)   path/to/file.xml

Revision

You can select a particular revision

./heimdall-s3 revision my/path/to/file.txt \
    --version d5s92Db30MRPNllR2WRspKKs12sfasSK \
    --region eu-west-1 --bucket my.bucket.org

Or directly the latest revision

./heimdall-s3 revision my/path/to/file.txt \
    --region eu-west-1 --bucket my.bucket.org

Save to file

Just use the shell

./heimdall-s3 revision my/path/to/file.txt \
    --region eu-west-1 --bucket my.bucket.org > file.txt

Download all revisions

We have a bifrost!

./heimdall-s3 bifrost my/path/to/file.txt \
    --region eu-west-1 --bucket my.bucket.org \
    --path /tmp

With the path option you can download all revision in a specific folder, otherwise the current folder is used.

Keywords

s3

FAQs

Package last updated on 24 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.