Using Azure Key Vault as a secret store
This bonus assignment is about using Azure Key Vault as a secret store for the FineCollectionService
. You will use the Azure Key Vault secret store component provided by Dapr.
There are 3 main parts in this bonus assignment:
- Setup of the Azure Key Vault as a secret store
- Update of
FineCollectionService
to retrieve the license key from the Azure Key Vault using Dapr secret store component. The license key is used by the fine calculator engine - Use secrets of Azure Key Vault in the definition of other components. Using Dapr, component manifests can reference secrets in a secret store. This is used to reference the Azure Service Bus connection string and the Azure Cosmos DB master key in the definition of the Azure Service Bus and Azure Cosmos DB components
Pre-requisite
The first part is a pre-requisite for the second and third part. The second and third part can be done in any order.
Table of contents
- Setup Azure Key Vault as a secret store
- Retrieve a secret in the application
- Reference a secret in Dapr components
- Deploying Azure Key Vault secret store to Azure Container Apps