aboutsummaryrefslogtreecommitdiffstats
path: root/config/secrets.yml
diff options
context:
space:
mode:
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..d4bd727
--- /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 `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.
+
+development:
+ secret_key_base: 7e5112a0fe79d66962ebf9965744b1ba7bbcef438a1a3e18f7a00faadff6cc045801dc5dd443c8139fd45cb03daa74d6795b2b8cccf9d2f95772ef218ce0d1ba
+
+test:
+ secret_key_base: 8c615bf7629d1544d83fad897010651ddcd3edb6f4d9f9c27031e8ff8006f32e2875d7fec1ba2f70c2015469a757a9ee4adf2a364dfb7c99a5d37f857fcb0dde
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>