How to use Azure Key Vault + .NET Core easily | Secrets, Keys and Certificates - English

  Рет қаралды 50,023

Jose Async

Jose Async

3 жыл бұрын

Hello my friend, in this video I show how we can save our ConnectionString from a .NET 5 web application in Azure Key Vault.
I hope you enjoy it 🙂.
Subscribe! 📺
Source🧾:
docs.microsoft.com/en-us/azur...
docs.microsoft.com/en-us/aspn...
You can also find me here:
📸: / josepontocruz
🐧 / josepontocruz
Thanks for Watching!!!!
Azure.Extensions.AspNetCore.Configuration.Secrets
#azure #keyvault #cloud #path #tutorial #english #dotnet #webapp

Пікірлер: 69
@Rajeshsingh-ws5th
@Rajeshsingh-ws5th 3 жыл бұрын
why hard coded client secrets in json file or in code?? it will defeat the purpose of security .
@sgsvve
@sgsvve 4 ай бұрын
Thank you. This is what I was looking for. Simple, step by step.... and working!
@OmarNg7X
@OmarNg7X 2 жыл бұрын
Thanks Jose! I just had to do this for a Microservices project I'm working on. Great tutorial and very easy to follow!
@michaeldacar2288
@michaeldacar2288 2 жыл бұрын
Thank you! I've been trying to get that working for a week and this is the first one I could follow.
@adedayod-one7470
@adedayod-one7470 2 жыл бұрын
This was an excellent tutorial, just straight to the point with everything needed without meandering...Thank you Jose.
@MeinGoogleAccount
@MeinGoogleAccount Жыл бұрын
totally agree 🙂
@hpdev93
@hpdev93 Жыл бұрын
What's the benefit here, previously connection string was my secret thing in appsettings, but now the key vault 'Secret' is a that secret thing.
@JR-zv7ws
@JR-zv7ws 2 жыл бұрын
Thanks a lot mate, I was struggling with KeyVault because the docs are a bit outdated. Your video saved me.
@backslash17m
@backslash17m 2 жыл бұрын
Very good video. I was doing this process accessing directly at the KeyVault API but as you show is simpler and faster to do it. Thank you Jose.
@joshvaughan3403
@joshvaughan3403 3 жыл бұрын
Great video, I found it much easier to understand thank other guides I watched!
@dileepc2700
@dileepc2700 Жыл бұрын
Thanks bro, this video really saved me, I spent more than 2 weeks just to set up the keyvault without visual studio credentials. Finally your video gave me the solution. Really thank you so much.
@shekharkumar3049
@shekharkumar3049 2 жыл бұрын
Great explanation and concept coverage brother, keep up the good work. Thanks, Jose
@rstbow
@rstbow 8 ай бұрын
Spent a lot of time looking for the right answer, here it is. thanks!
@moondesyl6581
@moondesyl6581 3 жыл бұрын
Great & many thanks from France for the tutorial !
@er.manojsingh7359
@er.manojsingh7359 7 ай бұрын
Great video Jose, easily you explained with example...Great thanks
@harrietlawrie6533
@harrietlawrie6533 5 ай бұрын
Thank-you so much, I have been reading documentation all day trying to get this working on my app, your video helped so much!
@countingcode4431
@countingcode4431 Жыл бұрын
Thanks Jose, loved the simplicity of explanation ❤❤❤❤
@alexeyleuhin8019
@alexeyleuhin8019 3 жыл бұрын
You're really a cool teacher and i like your charisma too. Thx for video, helped me a lot.
@user-jb9dd5pj6x
@user-jb9dd5pj6x 2 жыл бұрын
Thanks. Your explanations are clear!
@kanishkadas5907
@kanishkadas5907 2 жыл бұрын
This is the best video on Azure Key Vault usage. I subscribed to your channel. Please make more videos with examples. I appreciate you for your time and effort
@DChristop
@DChristop Жыл бұрын
Σε ευχαριστώ πολύ για το εξαιρετικό σου βίντεο!!!
@Duelweb
@Duelweb Жыл бұрын
Very well explained, thank you!
@DavidWilkesNHSE
@DavidWilkesNHSE Жыл бұрын
This helped me SO much! Thank you!
@Ramblewithmme
@Ramblewithmme Жыл бұрын
Well explained, great tutorial
@Rasmusorum
@Rasmusorum 9 ай бұрын
Thats a very genuine smile you have
@gagwithgaffer8385
@gagwithgaffer8385 Жыл бұрын
Great video. What has become apparent to me is that this approach (using client secrets) shoud only be used for a backend server, such as a microservice or any app that does not have any means to hit the public network or being accesible from the outside world, given we should not be storing any secrets in code/app setings for client facing apps. This solution fits my needs on this basis. Tested and working nicely. Thank you...
@charlesw.61
@charlesw.61 Жыл бұрын
Exactly... if you have an application that's client-facing and the tenantId, clientId, etc., is being stored in an Azure Library then this solution/approach is somewhat incomplete.
@octavioruizhernandez1433
@octavioruizhernandez1433 Жыл бұрын
Good tutorial, just the answer I need.
@AdhanMaldonado
@AdhanMaldonado Жыл бұрын
You helped me a lot...thank you so much. I have just subscribed to your channel.
@shrijeetshanil8120
@shrijeetshanil8120 3 жыл бұрын
Thanks Joes... This video helped a lot...
@adarshsynergy6413
@adarshsynergy6413 2 жыл бұрын
very nice way to demonstrate azure key vault service really helpful thinking if I could follow the same method in azure function project
@ghanshyam014
@ghanshyam014 Ай бұрын
Well explained.
@reallogic0
@reallogic0 Жыл бұрын
very good and easy explanation
@rjpajaron
@rjpajaron Жыл бұрын
Subscribed!!!!
@jamesbest2221
@jamesbest2221 3 жыл бұрын
Thank you!
@vibhasinghyadav8837
@vibhasinghyadav8837 2 жыл бұрын
Helpfull 😄
@MrNoeLeiva
@MrNoeLeiva 8 ай бұрын
Great video!! Not sure I see how you specifically link your connection string to the DB context or whatever method you are using to connect to the azure database
@MrNoeLeiva
@MrNoeLeiva 8 ай бұрын
do you have a git repo?
@90chiellini
@90chiellini 7 ай бұрын
Thanks bro!
@S_Karthik
@S_Karthik Жыл бұрын
Thanks was the on;ly video helpful . i got stuck at the last permission part this video helped me
@pinoyrunningpenguin
@pinoyrunningpenguin Жыл бұрын
So if a developer tries to debug a C# code that reads the secret value then this will expose the secret right?
@er.manojsingh7359
@er.manojsingh7359 7 ай бұрын
Please upload one video for Active Directory Authentication as well with an example.
@nachidude123
@nachidude123 2 жыл бұрын
Nice tutorial, could you please upload a video, to authenticate the application thru certificate under key vault?
@jemschaudhary5922
@jemschaudhary5922 8 ай бұрын
Great video, thanks! One question - For dotnet 6.0 (have program.cs only, not startup.cs), what changes are required here where it calls for config.json keys? (example "defaultConenction" for conenctionString) How can I get azure key vault connectionString here: builder.Services.AddDbContext(options => options.UseMySQL(builder.Configuration.GetConnectionString("DefaultConnection"))); Any suggestions? Thanks :-)
@amirsaleem4935
@amirsaleem4935 Жыл бұрын
how the visual studio getting the connection string. I understand it is ocming form Azure key secret but in the prgome which code is saying this is the connection string that need to be used?
@GirishRajuS
@GirishRajuS 2 жыл бұрын
Hi, Its a good demonstration on how to consume secretes from azure key vault into a dotnet application. But here I have question. What this that we achieved here. For an hacker, even if he or she able to access the application client ID and client secrete, will then be able to read the key vault. My question is, how is this approach will make sure, that hackers will not be able to access our secretes.?
@VincentYang024
@VincentYang024 2 жыл бұрын
Absolutely agree, this would be considered as learning azk tutorial, not practical usage
@debasisdakhinaray3437
@debasisdakhinaray3437 Жыл бұрын
In this case we can go for DefaultAzureCredential approach
@pradeepjuyal2475
@pradeepjuyal2475 2 жыл бұрын
can you explain how to manage different environment(dev,test,qa,production) connection string using keyvault and webapp
@ncvman
@ncvman 2 жыл бұрын
Hello sir. What is easier key vault key, secrets, cert or using managed identity to authenticate to an app to sql?
@deeparaj83
@deeparaj83 2 жыл бұрын
How to get the secret with managed identity ? any samples
@alxevg
@alxevg Жыл бұрын
It is unclear how the mapping is happening between KV keyGroup--key_1 and ConfigGroup:Key_1, is there a default naming convention/behaviour?
@jcrival
@jcrival 3 жыл бұрын
Hi do you have the source code and DB to test? thanks
@rodrigo6459
@rodrigo6459 2 жыл бұрын
Any chance for an update on Core 6?... since Program.cs + Startup.cs combo are no longer a thing! :(
@trendyanime5307
@trendyanime5307 Жыл бұрын
Hi Jose can you please help me, it is not accessing the connectionstring it is throwing error the error is: Microsoft.Data.SqlClient.SqlException: 'A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)'
@lieslies9521
@lieslies9521 5 ай бұрын
Hi , how to integrate hashicorp vault in .net core and moving keyvaultname to appsetings thanks in advance
@conaxlearn8566
@conaxlearn8566 2 жыл бұрын
Strangely as of now, Microsoft is still updating Microsoft.Extensions.Configuration.AzureKeyVault. Last publish was on Dec 15, 2021. And last publish for Azure.Extensions.AspNetCore.Configuration.Secrets was on May 19, 2021.
@osmanhawlader9584
@osmanhawlader9584 9 ай бұрын
Hi Jose great video! Could you please share the source code?
@harishkommuri5350
@harishkommuri5350 3 жыл бұрын
Hi, Thanks for the video, I clearly Understood, could you make a video how to make configurable TenentId, SecretId, Valut URL rather than storing in App.config file...
@mileshannahlane72
@mileshannahlane72 3 жыл бұрын
Thanks for great video Jose. I would also love a video of configurable TenentId, SecretId, Valut URL
@dotnet8925
@dotnet8925 Жыл бұрын
Providing code would have been much better idea. Is this visual studio 2022?
@kavacham222
@kavacham222 2 ай бұрын
Need kubernetes interview questions..
@mfayeeg
@mfayeeg Жыл бұрын
I do not see mentioning "Secret key/name" anywhere in the config. Is it because you had only one secret you were able to retrieve it without referring the secret name?
@RAM-ff8dy
@RAM-ff8dy Жыл бұрын
I had the same doubt..
@erickgordillo4786
@erickgordillo4786 Жыл бұрын
tutorial for net framework ?
@primaryhealthcarecorporati4333
@primaryhealthcarecorporati4333 Жыл бұрын
Good Tutorial, but please avoid annoying music
@aravindsekar6284
@aravindsekar6284 2 жыл бұрын
Everything is good except the background music.
@sunilanthony17
@sunilanthony17 4 ай бұрын
This defeats the purpose of storing your secret on Azure. Anyone can run your application.
@podeig
@podeig 8 ай бұрын
Very useful, thank you :)
Azure Key Vault Tutorial | Secure secrets, keys and certificates easily
18:43
Adam Marczak - Azure for Everyone
Рет қаралды 173 М.
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 34 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 26 МЛН
Connect .Net Core to Azure Key Vault in Ten Minutes
10:26
Rahul Nath
Рет қаралды 54 М.
What is Azure Key Vault Used For?
6:51
CBT Nuggets
Рет қаралды 16 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 2,1 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН