.env · security
Générateur de clé secrète Rails — SECRET_KEY_BASE et RAILS_MASTER_KEY
Générez SECRET_KEY_BASE et RAILS_MASTER_KEY pour Ruby on Rails dans votre navigateur. Correspond à la sortie de rails secret.
Be the first to rate
SECRET_KEY_BASE (128 hex chars)
Matches rails secret output — used to sign session cookies
Key
.env line
SECRET_KEY_BASE=RAILS_MASTER_KEY (32 hex chars)
Used to decrypt credentials.yml.enc
Key
.env line
RAILS_MASTER_KEY=CLI alternative
SECRET_KEY_BASE
rails secretRAILS_MASTER_KEY
openssl rand -hex 16Full tool page:/rails-secret-key-generator