Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

CautionYourBlast/s3-auth-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 Authentication Proxy

Add BASIC authentication to an S3 bucket.

Build / run

The easiest way to run the proxy is using docker. Build the image with docker build -t s3-auth-proxy . and then start, specifying a few environment variables to connect to the right bucket.

docker run -p 3000:3000 -e "USERNAME=user" -e "PASSWORD=password" -e "S3_BUCKET=your-bucket" -e "AWS_ACCESS_KEY=xxx" -e "AWS_SECRET_KEY=yyy" s3-auth-proxy

You can also run using node.js after doing an npm install with node .. The environment variables will need to be set in your shell prior to executing.

After starting the application you can access your site at http://localhost:3000.

About

Fast BASIC authentication for an S3 bucket.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors