fnando/access_token

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: d24ee1472fce1da471352326e734dfcfaa0a7f5c77b4abc7293dc892f80bba09c2fedd926c10296638f40212042db792e4bedde8a2bb9f3dc50d8d51a076d220
  access_token_secret: b50a65a125155b94a1d833291428b775a36b77d2ebc8348b6bb5a042e959f6e3228206df9432b5ad5d6882332295730af2e2c4f18166556c444cfe149b83507c

test:
  secret_key_base: cbce00000e9ea382507ad98909d7318cc75202f24dc0f55ffda7516b70b4813865483e9ba5886046ae1b53e694f570dcbde33ee3cf407eff3e8d74871d9e114c
  access_token_secret: f0781c58501041177de0f5c42d9f5d5461eff09befe59ff8acc14359efc5fef45911135b033e78d6f63677629f927595fc4ea483282bf062171de7b79c34ad17

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