test/dummy/config/secrets.yml in delayed_job_progress-0.0.2 vs test/dummy/config/secrets.yml in delayed_job_progress-0.0.3
- old
+ new
@@ -3,20 +3,30 @@
# 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.
+# 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: ad7f76690aa76b20cb190d0da3ea0cb536bda9fae706019b0dfe7baa984150dfa457b6a791d0edcbf94d30ebd9a81cc9122a44029dac9812fac6b524753db356
+ secret_key_base: 29fe580024c8cd8e191bb8e4d9776f0b334ee617a71d7b61c56872189146148312fc5a7191f36cb0ecdcf76f67e20931c96d8ebed40b1a0901aa918357ae603d
test:
- secret_key_base: b9f4d850c11079888125e0cf357f1ad636126b7859fa5bfc7946126bb7f77a788e36d1caeb233b8acc2e97d4bd4bbb8417e3935e474555dbb61f470396672055
+ secret_key_base: daa7ea721d8a035da631186a3f9665ae5d67abebf940250f2b8e45494b09d9836959beafc278d128cfe6fe43ffb1843f0d26194da183cfd971df411c12564861
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
+# 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"] %>