1

I have been searching most of the day for this and cannot find an answer.

I have a .net framework 4.7.2 web API using OWIN for authentication and startup.

I want to include processes to store my secrets in an Azure KeyVault. I have added a connected key vault service attempting to follow the MS documentation here, but I don't have an IConfigurationBuilder in my startup, because I am using OWIN (I have an IAppBuilder instead).

So is there a way to do this from an OWIN app? Or is there another route to accessing a KeyVault (that doesn't require me to save a secret in my app) that I can use? SOme middleware that I can hook in (I have searched for this too, without success)

Schroedingers Cat
  • 3,099
  • 1
  • 15
  • 33

1 Answers1

1

So after a lot more playing about this blog post pointed me to a route to achieve what I wanted. It still requires the key to be held locally (and in my code, so not secured), but aside from this, it would appear to be viable.

Schroedingers Cat
  • 3,099
  • 1
  • 15
  • 33