Demo entry 6755381

yaml

   

Submitted by anonymous on Jul 29, 2018 at 21:58
Language: YAML. Code size: 334 Bytes.

# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
amazon:
  service: S3
  access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
  secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
  region: us-east-1
  bucket: your_own_bucket

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).