diff --git a/lib/templates/rails/credentials/credentials.yml.tt b/lib/templates/rails/credentials/credentials.yml.tt new file mode 100644 index 00000000..883c66e2 --- /dev/null +++ b/lib/templates/rails/credentials/credentials.yml.tt @@ -0,0 +1,7 @@ +# Used as the base secret for all MessageVerifiers in Rails, including the one protecting cookies. +secret_key_base: <%= secret_key_base %> + +active_record_encryption: + primary_key: <%= SecureRandom.alphanumeric(32) %> + deterministic_key: <%= SecureRandom.alphanumeric(32) %> + key_derivation_salt: <%= SecureRandom.alphanumeric(32) %>