Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rails credentials support #355

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
doc: fix readme typo
noxasch committed Feb 18, 2025
commit 7333663bdea090bd40905072f975a2ae841f461a
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -274,7 +274,7 @@ After installing `Config` in Rails, you will find automatically generated file t
* `evaluate_erb_in_yaml` - evaluate ERB in YAML config files. Set to false if the config file contains ERB that should not be evaluated at load time. Default: `true`
* `file_name` - name of the file to store general keys accessible in all environments. Default: `'settings'` - located at `config/settings.yml`
* `dir_name` - name of the directory to store environment-specific files. Default: `'settings'` - located at `config/settings/`
* `use_rails_credentials` - evaluate Rails credentials if loaded with `RAILS_MASTER_KEY` or `config/master.key`. Can be access using `Settings.secret.secret_key_base`. Rails crendetials will override other settings as it will loaded last.
* `use_rails_credentials` - evaluate Rails credentials if loaded with `RAILS_MASTER_KEY` or `config/master.key`. Can be access using `Settings.secret.secret_key_base`. Rails credetials will override other settings as it will loaded last.

### Merge customization