Wednesday, March 7, 2018

Having problems getting keys from Azure Key Vault

Hey, so I 'm kinda new to Azure Key vault, and I've googled a couple of things before coming here. But every example online is on .NET Web API and I'm working on .NET Core Web App. So, my project structure is different than every other example out there.

So here's the problem: I'm trying to integrate it in middleware, so that whenever I get a request to the /api/ folder, it should controll if a key is in the secrets from my key vault. I do not get an error while connecting to the vault, but trying to get a key gives me a 500 error.

Anyone have a working project in .NET core where he/she can get secrets from Azure Key Vault?

I asked this question on SO as well, but to no avail. https://stackoverflow.com/questions/49133579/getting-500-bad-request-when-getting-secrets-from-keyvault-net-core

Having problems getting keys from Azure Key Vault Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team