Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress deprecation warning about use of Rails secrets
Rails 7.1 deprecates the use of Rails.application.secrets in favour of `Rails.application.credentials`. The credentials system introduces the burden of master encryption key administration at no benefit to us, because we manage our production secrets using environment variables instead of committing them to Git. This commit loads the existing secret values and merges them into the credentials object. This approach was copied from commit 8937b172be530a5d91bd999f4538e5a722dcab19 on the GOV.UK account-api project.
- Loading branch information