-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove secrets.yml recursively; add sample_secrets.yml
- Loading branch information
1 parent
cead0b8
commit 4b9fb03
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ config/secrets.yml | |
|
||
.env | ||
|
||
coverage | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# 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. | ||
|
||
common: &common | ||
chapman_identities_password: <%= ENV["CHAPMAN_IDENTITIES_PASSWORD"] %> | ||
chapman_identities_username: <%= ENV["CHAPMAN_IDENTITIES_USERNAME"] %> | ||
chapman_identities_base_url: <%= ENV["CHAPMAN_IDENTITIES_BASE_URL"] %> | ||
|
||
development: | ||
<<: *common | ||
secret_key_base: | ||
|
||
test: | ||
<<: *common | ||
secret_key_base: | ||
|
||
# Do not keep production secrets in the repository, | ||
# instead read values from the environment. | ||
staging: | ||
<<: *common | ||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> | ||
bugsnag_api_key: <%= ENV["BUGSNAG_API_KEY"] %> | ||
|
||
production: | ||
<<: *common | ||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> | ||
bugsnag_api_key: <%= ENV["BUGSNAG_API_KEY"] %> |