Нет описания

secrets.yml 1.3KB

12345678910111213141516171819202122232425262728293031
  1. # Be sure to restart your server when you modify this file.
  2. # Your secret key is used for verifying the integrity of signed cookies.
  3. # If you change this key, all old signed cookies will become invalid!
  4. # Make sure the secret is at least 30 characters and all random,
  5. # no regular words or you'll be exposed to dictionary attacks.
  6. # You can use `rake secret` to generate a secure secret key.
  7. # Make sure the secrets in this file are kept private
  8. # if you're sharing your code publicly.
  9. development:
  10. facebook_oauth_secret: 'Facebook oauth secret'
  11. google_oauth_secret: 'Google oauth secret'
  12. jwt_secret: supersecurestringyallwontevenknow
  13. jwt_algorithm: HS512
  14. secret_key_base: d8eb3cc59969ad8e2d30de8f6d7d2412c995b0add2ade3114bf03003e68b318528c8851290f600a2d89c07d4d0b5c86dc93fa0070c991f57347c9cc237e8ed9a
  15. test:
  16. secret_key_base: 21743e96f802207adb46e1098aad2460839b6736c830ec9821ca014b4b16f5efc2ffe80b7de879e5d9eb0e18ef379c952cf4beb7a185bf7fc6973d492936d936
  17. # Do not keep production secrets in the repository,
  18. # instead read values from the environment.
  19. production:
  20. facebook_oauth_secret: <%= ENV['FACEBOOK_SECRET'] %>
  21. google_oauth_secret: <%= ENV['GOOGLE_SECRET'] %>
  22. jwt_secret: <%= ENV['TOKEN_SECRET'] %>
  23. jwt_algorithm: HS512
  24. secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>