about summary refs log tree commit diff
path: root/config/secrets.yml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-02-20 22:53:20 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-02-20 22:53:20 +0100
commit9c4856bdb11fc9311ab30a97224cee3dfaec492f (patch)
tree37fd831e505f040bbd3c583f56d3502ebd75e9c8 /config/secrets.yml
Initial commit
Diffstat (limited to 'config/secrets.yml')
-rw-r--r--config/secrets.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/config/secrets.yml b/config/secrets.yml
new file mode 100644
index 000000000..68c9408d5
--- /dev/null
+++ b/config/secrets.yml
@@ -0,0 +1,22 @@
+# 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 `rake secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+  secret_key_base: d4398e4af52f1fc5be5c3c8764e9ecce7beac5462826cb8b649373b2aad5a0f133598ed817c4e9931e943041460d6b6eda40a854e825e1bbd510c4594b1538f2
+
+test:
+  secret_key_base: 5be187ddbd651211a906f9aa399f4a148edf6e06b971c7c0b5429b9483df6e21d262cc846447d0f89b89c32d56a99e151039df5dd874ede7f712afbe041a9269
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+  secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>