Two ways to get values from secrets.json file.
1. The first way without moving the secrets file from the secret store(Windows and Unix)
2. The second way is by moving the file to the project folder (do not forget to add secrets.json to .gitignore so as not to accidentally push it to the repository)(for all operating systems, but I didn't have a chance to check). Instead of secrets.json you could also use appsettings.json