Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/realestate-com-au/blobby-s3
- Owner: realestate-com-au
- Created: 2015-06-15T13:13:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T14:14:28.000Z (almost 3 years ago)
- Last Synced: 2023-04-13T04:02:23.636Z (over 1 year ago)
- Language: Ruby
- Size: 21.5 KB
- Stars: 0
- Watchers: 19
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
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).