Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to specify a secret for all environments in secrets.yml from rails 4.1?

Tags:

Like the question states, is there a way to make a secret known to all 3 environments without copy and pasting like this?

secrets.yml

development:
  secret_key_base: ...
  my_global_secret: foo

test:
  secret_key_base: ...
  my_global_secret: foo

production:
  secret_key_base: ...
  my_global_secret: foo

Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!