From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Creating the Azure Key Vault component

Creating the Azure Key Vault component

- [Instructor] Up to now, we have a working local secret store component, which is this wisdom-secretstore-local.yaml file. Having a local JSON file to store the required secrets is suitable for a development environment. However, we should consider specific technologies for managing secrets, such as Azure Key Vault, in a real-world scenario. That said, in this video, we're going to create a new Dapper component that uses Azure Key Vault as its secret storage mechanism. Okay, let's go ahead and get started. Here, I'm going to delete this local component, and we're going to create a new one named wisdom-secretstore-vault.yaml. And right here, I'm going to paste the code that I already have in a notepad. And as you can see, we're using now the secretstores.azure.keyvault component instead of the one that is using a local JSON file. And also, as you can see, we're using the wisdomsecretstore name, which is the same that we've used previously. And on the other hand, I set the vaultName…

Contents