Skip to content

andrein/haproxy-s3-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This library implements request signing using the AWS Signature Version 4 specification. This signature scheme is used by nearly all AWS services, but the current focus is on signing S3 GET requests.

Usage

See haproxy.cfg for an example

Demo

Start it up with docker-compose

$ docker-compose up

Configure minio-client

$ mc alias set minio http://localhost:9000/ "AKIAIOSFODNN7EXAMPLE" "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"

Create the test bucket

$ mc mb minio/test

Copy some files into the test bucket

$ mc cp test.txt minio/test

Profit

$ curl localhost:8080/test.txt
It works!

Releases

No releases published

Packages

No packages published