Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.15 KB

README.md

File metadata and controls

19 lines (15 loc) · 1.15 KB

Secrets Management

Curtis Badke

Edmonton .NET User Group Meetup (February 27th, 2018)

This is a fork of Curtis Badke's Secrets Demo that will be discussed during the meetup. Thank you to Curtis for presenting and DevFacto for supporting Edmonton .NET User Group.

Secrets Demo

This is a very quick and dirty demo of loading configuration for ASPNET Core app using Azure KeyVault. Prepared for my EDMUG talk on February 27, 2018.

This demo does handle some things that you may want to consider for actual production use such as:

  • dynamically taking new values if vault secrets change (everything loads on app start)
  • insecure memory considerations. secrets are loading a plain strings into the config dictionary. if an attacker could get a memory dump of the application then the secrets will be easily retrievable. if this is a consideration for your app then other mechanisms such as SecureString should be considered.