This console application demonstrates how to interact with Azure Key Vault secrets from C#.
To run the demo:
- Create an Azure Key Vault
- Register an Application for the Key Vault and set environment variables
- Replace KEY_VAULT_NAME in Program.cs with the name of your key vault
You can find more details here