Dotnet 6 Azure KeyVault 403 forbidden error
Im trying to access Azure KeyVault and create Key & Secret using Dotnet 6.
while running the code, its throwing exception 403
Below is the code
Below is the error
These are the roles assigned at the Azure Subscription Level,
How to use MS Azure Key Vaults in stand-alone .NET (C#) applications
I’m confused. So I have a rough understanding of the MS Azure Key Vault concept and I would like to use it in a stand-alone C# Windows application. At the moment, just developing on one machine, I have my keys and endpoint set in my local Environment Variables.
Now I would like to build my application and give it to someone else. Obviously, I do not want my keys and secrets in my code so I want to use a Key Vault.