summaryrefslogtreecommitdiff
path: root/config/secrets.yml
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-02-02 21:31:39 -0700
committermo khan <mo@mokhan.ca>2015-02-02 21:31:39 -0700
commit013bcebf8a96b9047317eed674a17c7bc375093f (patch)
tree2c27360ad9477cdf6a43828aaeebe7ebc0960801 /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 0000000..b53bc7d
--- /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: ea3a826307d0957b5347d7990f88520f34d95c6f40a0516a0a96ae3146669e7758b538c29da9cdbf437db8ab9eb6b462dd813ae71538df7f49f8c3e60a9bb80d
+
+test:
+ secret_key_base: 3f0b10e73e4f7f66df8b001fa45d467635a0b0337f129261eab90d2da987f2ffc176ca177a01c038f6c33bff061f1c68e23e26e36c58b9147afb9687e8836146
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>