DEV Community

Discussion on: 🤫 Secrets, environment variables & config files: the Ruby On Rails case

Collapse
 
guillaumeocculy profile image
Guillaume Occuly • Edited

Great article!

Is there any way to have a default value with "master" credentials ?
I explain myself :
If Rails.application.credentials.foo is nil on staging (config/credentials/staging.yml.enc),
we look to config/credentials.ymc.enc to find the default value BAR

Collapse
 
vvo profile image
Vincent Voyer

Hey there, I am no more using Rails so really I dunno! You can ask on their GitHub I guess and reply here if you find something. Good luck