drpheltright/pieces

View on GitHub
examples/rails_app/config/secrets.yml

Summary

Maintainability
Test Coverage
# 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 `rake 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: 859d64e8751c6d542742d1e081e8b07bb8efa4ed9c5ae15b526599fdf7f83fb16a11cdb4fd87ff5903f7090bf4804b9f8df590356d7df9df9416e02c6246e754

test:
  secret_key_base: cc274b778f843cd62d9ee155d1f20ffedbdaeeb0ab76045e67a65b145fd4fb70c1e24bcd08036e737b326d6e35a3aa864888f42e29c9d8415ab44959d7dc73e0

# Do not keep production secrets in the repository,
# instead read values from the environment.
production:
  secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>