Skip to content

Commit

Permalink
Merge pull request #19898 from prathamesh-sonpatki/common-secrets
Browse files Browse the repository at this point in the history
 Added an example to show how common secrets can be shared across multiple environments in secrets.yml [ci skip]
  • Loading branch information
sgrif committed Oct 20, 2015
2 parents 0ebe8e5 + fe3a896 commit 6ae515d
Showing 1 changed file with 16 additions and 0 deletions.
Expand Up @@ -10,6 +10,22 @@
# Make sure the secrets in this file are kept private
# if you're sharing your code publicly.

# You can also share common secrets in multiple environments
# using YAML anchor/reference syntax.

# common: &common
# api_key: <%= API_KEY %>
# api_secret: <%= API_SECRET %>

# development:
# <<: *common
#
# test:
# <<: *common
#
# production:
# <<: *common

development:
secret_key_base: <%= app_secret %>

Expand Down

0 comments on commit 6ae515d

Please sign in to comment.