-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsecrets.yml
41 lines (31 loc) · 1.72 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
33
34
35
36
37
38
39
40
41
# 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:
google_client: <%= ENV["OMNIAUTH_CLIENT_GOOGLE"] %>
google_secret: <%= ENV["OMNIAUTH_SECRET_GOOGLE"] %>
facebook_client: <%= ENV["OMNIAUTH_CLIENT_FACEBOOK"] %>
facebook_secret: <%= ENV["OMNIAUTH_SECRET_FACEBOOK"] %>
linkedin_client: <%= ENV["OMNIAUTH_CLIENT_LINKEDIN"] %>
linkedin_secret: <%= ENV["OMNIAUTH_SECRET_LINKEDIN"] %>
github_client: <%= ENV["OMNIAUTH_CLIENT_GITHUB"] %>
github_secret: <%= ENV["OMNIAUTH_SECRET_GITHUB"] %>
# Environmental secrets are only available for that specific environment.
development:
domain_name: example.com
secret_key_base: fef239dbdf8f5603739f7940fa0420c8021415f9e8649eee3d6010c5e14b9d2d136e9416493691f347ffe07548661c215e1abfd541493511ddedc8297e3972a9
test:
secret_key_base: 1aeecc02bb42f45d82d192643a96e437c6a982a1f60c015c520ea2ca48fbbaca8ccaae9f63586402364159af81b59e5a30b6dba7a18ded91bb8473ef78d07eec
# 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:
domain_name: <%= ENV["DOMAIN_NAME"] %>
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>