-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecrets.yml
32 lines (22 loc) · 1.23 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
25
26
27
28
29
30
31
32
# 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.
# Shared secrets are available across all environments.
shared:
api_key: 123
# Environmental secrets are only available for that specific environment.
development:
secret_key_base: 58ada9a2c3e1ae5a4f3ed2fb141156ee9bbb4d773edd743f4e65b7ec2dabd38c4e87efc6a13110ef3e5733fae7b8476d57f1772561e54efd84f6136e3a1ebb60
test:
secret_key_base: 3096ac478bdf0bccfe7a7c27888fee010f877faf5b40573103eb4cfe76fc16520a090ed537a4648f8af3fad0f4b8bb3dabd2ce2a15adb06084ae0c40b01a7965
# Do not keep production secrets in the unencrypted secrets file.
# 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["SECRET_KEY_BASE"] %>