config/secrets.yml
# 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.
# Shared secrets are available across all environments.
# shared:
# api_key: a1B2c3D4e5F6
# Environmental secrets are only available for that specific environment.
development:
secret_key_base: ca1dd1bc82f6968b479178108fad04fa844c0f762d825a67cf64bac59c9c3d9775174c435a8b6a2e22ace8fc7d0c15271291b6807d468a01f3e0f883eb245f75
test:
secret_key_base: ded2bc614fd18b1996a2237658e1a1909107cf4b7677139030604c77f22c3348cfbf8329b4631012a2a5acec8c511c93a6985f99c374fee3fea862f362bf1c31
# 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"] %>