.env · security
Rails Gizli Anahtar Oluşturucu — SECRET_KEY_BASE ve RAILS_MASTER_KEY
Tarayıcında Ruby on Rails için SECRET_KEY_BASE ve RAILS_MASTER_KEY oluştur. rails secret çıktısıyla eşleşir.
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