| Start |
|---|
| Storing authentication keys with Figaro Add You can store your keys in application.yml in this format: where SECRET_NAME and secret_value are the name and value of your API key. You also need to name these secrets in config/secrets.yml. You can have different secrets in each environment. The file should look like this: How you use these keys varies, but say for example Finally, let's say you want to spin up a production environment on Heroku. This command will upload the values in config/environments/production.rb to Heroku: |
Read Article
https://develop.horje.com/learn/1434/reference