-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathsecrets.yml
24 lines (18 loc) · 1.08 KB
/
secrets.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 `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.
development:
secret_key_base: 3274374298988534e80a29e9804457a23549d92d44e8ac094e2b12af80482f0c518fb8190ec395b7d5d9041076aa8198bb9692eb0145b44c15ce73eaeb0df46e
test:
secret_key_base: bfb56eb3daa09d350b4597e6503d0a0074fc1ce1433c4bd3e08fd62389d41b0d42bc7ad4d2db1aac1659afacbfa8e15710bf77605cef7f5e5b837ca10dcd96ee
# Do not keep production secrets in the repository,
# 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.fetch("SECRET_KEY_BASE", nil) %>