features/secret_token.feature in pah-0.0.27 vs features/secret_token.feature in pah-0.0.28

- old
+ new

@@ -9,27 +9,37 @@ SECRET_KEY_BASE: \w+ """ Then I have the file config/secrets.yml and contents of this file should include: """ # 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: a1B2c3D4e5F6 + + # Environmental secrets are only available for that specific environment. + development: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> - + test: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> - - # 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"] %> - """ + """ \ No newline at end of file