Secure Uploads to AWS S3 with Ruby on Rails

Do not expose your secrets on the client. The following guide will outline how to upload files directly to S3 without exposing your secret tokens.

Photo by Philipp Katzenberger on Unsplash


A direct upload to the storage server (S3, GCP storage, etc) may be desired when working with large files. Since uploading through the server would consume resources with the handling of these long…