Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/realestate-com-au/blobby-s3

Store BLOBs in S3
https://github.com/realestate-com-au/blobby-s3

Last synced: about 2 months ago
JSON representation

Store BLOBs in S3

Awesome Lists containing this project

README

        

# Blobby::S3Store

[![Build Status](https://travis-ci.org/realestate-com-au/blobby-s3.svg?branch=master)](https://travis-ci.org/realestate-com-au/blobby-s3)

This gem provides an S3-based implementation of the "store" interface defined by the ["blobby"](https://github.com/realestate-com-au/blobby) gem. It's been packaged separately, to avoid adding dependencies to the core gem.

The simplest use-case is writing to a single bucket:

s3_store = Blobby.store("s3://mybucket")
s3_store["key"].write("something big")

Credentials can be provided, if required:

credentials = { :access_key_id => "KEY, :secret_access_key => "SECRET" }
s3_store = Blobby::S3Store.new("mybucket", credentials)

If none are specified, we'll look for them in [the normal places](https://blogs.aws.amazon.com/security/post/Tx3D6U6WSFGOK2H/A-New-and-Standardized-Way-to-Manage-Credentials-in-the-AWS-SDKs).