Setting up AWS S 3 key and secret key to my droplet (Ubuntu) on rails app

July 10, 2017 471 views
Ruby on Rails API Ubuntu 16.04

Hello, I would like to setup my aws s3 keys to my droplet but..

When i'm doing cap production deploy
I have the following message : ArgumentError: Missing required arguments: aws_access_key_id, aws_secret_access_key`

I know that on Heroku there are some command to set the secret keys .
But after long research i can't find a similar way to do it with my droplet !

Ideas?

Thank you in advance