diff options
Diffstat (limited to 'config/secrets.yml')
-rw-r--r-- | config/secrets.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/config/secrets.yml b/config/secrets.yml new file mode 100644 index 0000000..70fa8d7 --- /dev/null +++ b/config/secrets.yml @@ -0,0 +1,32 @@ +# Be sure to restart your server when you modify this file. + +# Your secret key is used for verifying the integrity of signed cookies. +# If you change this key, all old signed cookies will become invalid! + +# Make sure the secret is at least 30 characters and all random, +# no regular words or you'll be exposed to dictionary attacks. +# You can use `rails secret` to generate a secure secret key. + +# Make sure the secrets in this file are kept private +# if you're sharing your code publicly. + +# Shared secrets are available across all environments. + +# shared: +# api_key: a1B2c3D4e5F6 + +# Environmental secrets are only available for that specific environment. + +development: + secret_key_base: 095fefa152e7687e700b07532b99351a8e23f3dff23677bd2fd98ab01354fdf2aa15e714d2ae5d76d6a3ee036174d1d3132a942cd7e88bf63e1e4720d07672c7 + +test: + secret_key_base: 3df201ca64f4ef212a595b07d263b4f79ad2d752c348cceed341f14f5f4bee4f760a956bb274118e89306ed580d7d98abc9b74495637a3c466a3d97e9d522ffb + +# Do not keep production secrets in the unencrypted secrets file. +# Instead, either read values from the environment. +# Or, use `bin/rails secrets:setup` to configure encrypted secrets +# and move the `production:` environment over there. + +production: + secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> |