Hi Emmet! You are right, you should not commit your master key to keep it safe. As you say, a good alternative is to store it as an ENV variable with the key RAILS_MASTER_KEY, provided that you keep access to it safe. Other alternatives are Hashicorp Vault and AWS Secrets Manager.
In Rails guides it says not to commit your master key. Is it safe to store this in your environment variables on Heroku for example?
Hi Emmet! You are right, you should not commit your master key to keep it safe. As you say, a good alternative is to store it as an ENV variable with the key RAILS_MASTER_KEY, provided that you keep access to it safe. Other alternatives are Hashicorp Vault and AWS Secrets Manager.