test/dummy/config/secrets.yml in killbill-payment-test-ui-0.0.2 vs test/dummy/config/secrets.yml in killbill-payment-test-ui-0.1.0

- old
+ new

@@ -3,20 +3,30 @@ # 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. +# 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: a1B2c3D4e5F6 + +# Environmental secrets are only available for that specific environment. + development: - secret_key_base: 1bf554005ad2202ff95c5054b370be54b8562e5ea231265fcc4e21a8cde0039bc47668bcb33a414c3d09a987d08d38bb3459715ec45448054aeac95fc14a5225 + secret_key_base: ec8359d8c595a0620cd8835710a71daeb3abbdb2c90a6a4741b5b9f78c4e9b430582030c5f6c4fad9129d032ae6962db17bd10d7b0678f0e9d9710ee4ff43920 test: - secret_key_base: a918af8ccf854a252b8631ffd6ab7a7f3c5ae7b2b2554375cbc744ad35ce19cbd5763c875724cbaaed81ba07b573b020397acce2c0d7710a08c1def6f82a93aa + secret_key_base: 0a7d9af1bab525a4cac40bf05abe81deaff89fcaf2a16c6eac0422b2e84679d2ee18c0db7a62f555316acbb9c63998f8613a0676e0990cb9d26dc1a2f4634e3a -# Do not keep production secrets in the repository, -# instead read values from the environment. +# 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"] %>