namarara/config/secrets.yml
2017-09-04 11:19:29 +02:00

33 lines
1.2 KiB
YAML

# 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: bf8d0dd706eeab62bc46e28a5fe716b6f0017e9172479094be12f4979935266d32a34359e4b88999a60c6681c955741956c1780da58567ef32fd10a935411830
test:
secret_key_base: e78e1838b1aed40d53faefe96895c42ee05ddb7812f7e797cdf7b1ae1a43b23e381e3ceea6ab84b0b14e224648e18db8dea371ef1ca7d2c1c31c7111b01e0873
# 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"] %>