How to secure and access DB Connection Strings in .NET Core with Azure Key Vault Secrets | LSC

preview_player
Показать описание
Hi Friends,

In this video, I will show the following.

1. Provision/Create Key Vault in Azure
2. Create an App Service Web App to deploy the dotnet core application.
3. Configure the Web app to access Key Vault using system identity/managed identity
4. Configure an access policy for the web app to access the key vault.
5. Run the app to see how to read Secret from Key Vault
6. We will also see how to access the DB Connection string from secrets from Key Vault using the Key Vault reference.

This is part of the AZ-204 certification path.

Please post your questions in the comment section and I will be happy to answer your questions.

Happy coding!
Рекомендации по теме
Комментарии
Автор

Hello sir, Good Explanation, same like for springboot application how to access connection Stirngdb from azure keyvault can you explain pls sir

swarnavenkateswarulu
Автор

Hello sir how can we implement same thing in node js application please help

Be_real
Автор

I wish you explained how to cache the connection string. Because in production if you dont cache it, it will ping key vault everytime it needs to access the database. And keyvault is like $0.05 for every 10, 000 times you get the secret.

asdasdaa
Автор

OK, two things I would immediately change about this video: 1. there is a small echo in your voice (it's almost reverb, but it's definitely distracting), and 2. don't show the whole screen - start a shot with the whole screen so the viewer is oriented, but then zoom in to what you're actually working on or discussing.

When you show the whole screen, the part you're working on becomes tiny & difficult to read. It's a waste of space to show a huge screen when action is actually happening in less than 25% of it.

Also, please consider using a black background with white text. A facefull of explosive white screen can be painful to watch.

I hope none of this has offended you. I am not attempting to belittle you with criticism. My intention is to give you information that may make your videos more useful for more viewers. Thanks for your consideration.

PS It's OK to talk a little slower. One of the blessings of the Internet is that all us English speakers can communicate around the world. But with that comes minor differences in pronunciation that might take viewers a few extra milliseconds to process.

MagicAndReason