Demo entry 6758931

z

   

Submitted by anonymous on Aug 18, 2018 at 14:19
Language: YAML. Code size: 340 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).