Skip to content

Instantly share code, notes, and snippets.

@bithive
Created March 20, 2015 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bithive/e115a85f75d31f0230dd to your computer and use it in GitHub Desktop.
Save bithive/e115a85f75d31f0230dd to your computer and use it in GitHub Desktop.
Use aws-sdk gem with radosgw
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