Created
March 20, 2015 00:35
-
-
Save bithive/e115a85f75d31f0230dd to your computer and use it in GitHub Desktop.
Use aws-sdk gem with radosgw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aws::S3::Client.new( | |
access_key_id: ENV['AWS_ACCESS_KEY'], | |
secret_access_key: ENV['AWS_SECRET_KEY'], | |
region: 'default', | |
endpoint: 'http://s3.example.org', | |
signature_version: 's3' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment