ccpgames/s3signer

Name: s3signer

Owner: CCP Games

Description: Simple web service to return S3 signed URLs

Created: 2015-08-13 14:38:47.0

Updated: 2015-08-13 15:36:06.0

Pushed: 2015-08-17 19:29:33.0

Homepage: null

Size: 140

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

s3signer

A simple web service to return S3 signed URLs.

Usage
rl http://localhost:8080/mybucket/myfile/
s://s3-us-west-1.amazonaws.com/mybucket/myfile?AWSAccessKeyId=RANDOMLETTERS&Expires=1234567890&Signature=MORERANDOMLETTERS

The signed URLs returned are valid for 5 seconds.

Configuration

Configuration is via environment variables. The the goamz.aws.EnvAuth variables need to be provided, and s3signer uses one additional variable AWS_REGION to specify the region by name. Something like us-west-1, (as defined here).

Buckets, files

All buckets that the credentials have access to are cached on startup. If a new bucket is created, the service will need to be restarted. Files inside of buckets are searched for on each request.

Nested files in buckets are not supported at this time.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.