Skip to content

Commit

Permalink
add config/secrets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yuasano committed May 1, 2015
1 parent 8733e26 commit d771db0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions config/secrets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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: 71f70f6e0b2d04e85f9d37f919f08270e4d1a9654b2f83970a9f7ddbdc13f16a41a665f9bd2caf3aead182579491d4151b144e50672094bc2ce8b1af628a93d9

test:
secret_key_base: 21fd8d1c89d9638d677d047c58358c5b0b379cdfb87499ec8821bf1a7bb2ed17dbd862f351fef6104b4faa2dd6cbc9473ee8ce8d2d70667ae31f29e9a863405f

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

0 comments on commit d771db0

Please sign in to comment.