From the course: ASP.NET: Security

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Azure Key Vault

Azure Key Vault

- If, and only if, you are using Azure and want to deploy an application there anyway. Using Azure Key Vault may be an interesting option in order to store secrets without having to put them into your text and configuration files. When using Azure Key Vault, what you need to do first is you can set up a Key Vault. As the name suggests, it's a vault which contains keys. This could be any kind of secrets. Like, for instance, any excess data to databases, to systems, keys required to call a specific service, etc. Setting up the Key Vault means, you create a resource group and then create the Key Vault in that resource group. You can use a variety of UI's for that. I personally like the Azure CLI, and with the Azure CLI with the az Command Line tool or Command Line command. You can do az keyvault create, in order to create that key vault. Then az keyvault secret set. Which then adds, basically, a name value pair to that very Key Vault. This is one part of the story, of course the other…

Contents