✅ How to use secret manager asp.net

Good morning, was wondering how I can import a secret into a C# file using the secret manager. I initialized it and set a secret and I can access the configuration through the Program.cs file, but I'm not sure how I can pass it to my other C# file where the logic that necessitates the secrets is happening.
Was this page helpful?