GithubHelp home page GithubHelp logo

ebuk / s3proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abustany/s3proxy

0.0 1.0 0.0 247 KB

Simple HTTP proxy to allow non-S3-aware applications to access private Amazon S3 buckets

License: GNU General Public License v2.0

Shell 4.29% Go 95.71%

s3proxy's Introduction

Build Status

Simple authenticating proxy for AWS S3

This proxy allows any application supporting HTTP proxies to access files in a private S3 bucket (upload or download). The authorization headers are only sent if the proxy detects a S3 URL (of the form *.s3.amazonaws.com/*). Multiple buckets can be configured with different settings.

The proxy supports fetching tokens from an IAM role, so you don't have to store the keys in clear text in the configuration file when running on an EC2 instance with a properly configured role.

Transparent client-side AES encryption is supported. The size of your encryption key (16, 24, or 32 characters) will determine whether 128, 192 or 256 bit encryption is used. When encryption is used, files are encrypted on the fly during upload, and decrypted during download. Encryption keys are defined per bucket.

The difference between client side encryption and the server side encryption also available in S3 is that with client side encryption, you keys are never stored on Amazon servers.

Build

You'll need Go 1.1 to compile s3proxy. Note that the Go tools are only needed for compiling s3proxy, the resulting binary does not depend on any external libraries.

  • Export GOPATH to the root directory of s3proxy
  • Run go install s3proxy

You should now have a s3proxy binary in bin/s3proxy

Setup

  • Copy config.json.dist to a file somewhere and edit the values inside
  • Start the proxy, passing the path to the config file as the only command line parameter

Future

  • Support wildcards in bucket configurations?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.