Skip to content

Commit

Permalink
use existing defaults for s3 access
Browse files Browse the repository at this point in the history
  • Loading branch information
cziaarm committed Mar 20, 2024
1 parent e43fc65 commit ad5354d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/browse_everything_providers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# To make browse-everything aware of a provider, uncomment the info for that provider and add your API key information.
# The file_system provider can be a path to any directory on the server where your application is running.
#
#file_system:
# home: /app/samvera/hyrax-webapp/data
file_system:
home: /app/samvera/hyrax-webapp/data
# dropbox:
# client_id: YOUR_DROPBOX_APP_KEY
# client_secret: YOUR_DROPBOX_APP_SECRET
Expand All @@ -15,10 +15,10 @@
# client_id: YOUR_GOOGLE_API_CLIENT_ID
# client_secret: YOUR_GOOGLE_API_CLIENT_SECRET
s3:
bucket: <%= ENV['AWS_S3_BUCKET'] %> # .s3.amazonaws.com #arn:aws:s3:::temp-bl-bucket-for-browse-everything
bucket: temp-bl-bucket-for-browse-everything # .s3.amazonaws.com #arn:aws:s3:::temp-bl-bucket-for-browse-everything
response_type: signed_url # set to :public_url for public urls or :s3_uri for an s3://BUCKET/KEY uri
expires_in: 14400 # for signed_url response_type, number of seconds url will be valid for.
app_key: <%= ENV['AWS_ACCESS_KEY_ID'] %> # :app_key, :app_secret, and :region can be specified
app_secret: <%= ENV['AWS_SECRET_ACCESS_KEY'] %> # explicitly here, or left out to use system-configured
region: <%= ENV['AWS_S3_REGION'] %> # defaults.
region: eu-west-1 # defaults.
# See https://aws.amazon.com/blogs/security/a-new-and-standardized-way-to-manage-credentials-in-the-aws-sdks/

0 comments on commit ad5354d

Please sign in to comment.