mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
11 lines
244 B
Ruby
11 lines
244 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'aws-sdk-core'
|
|
|
|
Aws.config.update(
|
|
{
|
|
region: ENV['AWS_REGION'],
|
|
endpoint: ENV['AWS_ENDPOINT'],
|
|
credentials: Aws::Credentials.new(ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'])
|
|
}
|
|
)
|