8000 GitHub - ttakezawa/s3get: Lightweight S3 Download Tool in Golang · GitHub
[go: up one dir, main page]

Skip to content
ttakezawaPublic

About

Lightweight S3 Download Tool in Golang

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

s3get

Lightweight S3 Download Tool in Golang, based on https://github.com/awslabs/aws-sdk-go

Circle CI

Installation

curl -L https://github.com/ttakezawa/s3get/releases/download/v1.0.2/s3get_1.0.2_$(uname -s|tr A-Z a-z)_amd64.tgz \
  | tar -zxC /usr/local/bin

Usage

s3get s3://your-bucket/path/to/object.zip > object.zip
s3get --access_key AKIAIOSFODNN7EXAMPLE --secret_key wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY --region ap-northeast-1 s3://your-bucket/path/to/object.zip > object.zip

# You can also run it as a container
docker run ttakezawa/s3get s3://your-bucket/path/to/object.zip > object.zip

If the access key ID and secret access key are provided, it returns a basic provider.

If credentials are available via environment variables, it returns an environment provider.

If a profile configuration file is available in the default location and has a default profile configured, it returns a profile provider.

Otherwise, it returns an IAM instance provider.

About

Lightweight S3 Download Tool in Golang

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0