summaryrefslogtreecommitdiff
path: root/config/secrets.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config/secrets.yml')
-rw-r--r--config/secrets.yml18
1 files changed, 14 insertions, 4 deletions
diff --git a/config/secrets.yml b/config/secrets.yml
index ca22419..08a78b0 100644
--- a/config/secrets.yml
+++ b/config/secrets.yml
@@ -10,13 +10,23 @@
# 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: 54f0899f1bc5285b91dd5a10a34214ca90948677294ed17b36fbfb4188aa9e5c461b23bc6033fe41a2c6a72cca561e226da4fe0971cd37ae8d5455b10bcc1184
+ secret_key_base: f7d912a0305ec5bc16d79d6f6ec7425965ffd46d562b0583130226af9b2199ca5c5aaa624e2efa20f84c157988b642c54d0cb01d4d0cba5e3f47a99ddaa8f59f
test:
- secret_key_base: a4b37eccd2e60c421250522cc8197ee9643ce747f70106411a76bd8266bf1a89027d0c3a65cffb8e52d4fe1a4ce4801f8d2cadb56f4f0a3f58f6cae58b4314b8
+ secret_key_base: a80243fb3a47b325e56954f0eb28d362fac13ec44805033e58501459e19a01b51bea1a3a575c1350aec87084a9cd8bcddbc4f830a8c68c81147e20bdf5755af6
+
+# 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.
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>