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

  Рет қаралды 49,439

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
@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.
@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!
@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.
@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.
@sgsvve
@sgsvve 4 ай бұрын
Thank you. This is what I was looking for. Simple, step by step.... and working!
@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.
@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 🙂
@rstbow
@rstbow 8 ай бұрын
Spent a lot of time looking for the right answer, here it is. thanks!
@harrietlawrie6533
@harrietlawrie6533 4 ай бұрын
Thank-you so much, I have been reading documentation all day trying to get this working on my app, your video helped so much!
@shekharkumar3049
@shekharkumar3049 2 жыл бұрын
Great explanation and concept coverage brother, keep up the good work. Thanks, Jose
@alexeyleuhin8019
@alexeyleuhin8019 3 жыл бұрын
You're really a cool teacher and i like your charisma too. Thx for video, helped me a lot.
@countingcode4431
@countingcode4431 Жыл бұрын
Thanks Jose, loved the simplicity of explanation ❤❤❤❤
@moondesyl6581
@moondesyl6581 3 жыл бұрын
Great & many thanks from France for the tutorial !
@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
@er.manojsingh7359
@er.manojsingh7359 7 ай бұрын
Great video Jose, easily you explained with example...Great thanks
@user-jb9dd5pj6x
@user-jb9dd5pj6x 2 жыл бұрын
Thanks. Your explanations are clear!
@DChristop
@DChristop Жыл бұрын
Σε ευχαριστώ πολύ για το εξαιρετικό σου βίντεο!!!
@DavidWilkesNHSE
@DavidWilkesNHSE Жыл бұрын
This helped me SO much! Thank you!
@Duelweb
@Duelweb Жыл бұрын
Very well explained, thank you!
@Rajeshsingh-ws5th
@Rajeshsingh-ws5th 3 жыл бұрын
why hard coded client secrets in json file or in code?? it will defeat the purpose of security .
@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.
@Ramblewithmme
@Ramblewithmme Жыл бұрын
Well explained, great tutorial
@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
@shrijeetshanil8120
@shrijeetshanil8120 3 жыл бұрын
Thanks Joes... This video helped a lot...
@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.
@Rasmusorum
@Rasmusorum 8 ай бұрын
Thats a very genuine smile you have
@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.
@reallogic0
@reallogic0 Жыл бұрын
very good and easy explanation
@ghanshyam014
@ghanshyam014 Ай бұрын
Well explained.
@jamesbest2221
@jamesbest2221 3 жыл бұрын
Thank you!
@S_Karthik
@S_Karthik Жыл бұрын
Thanks was the on;ly video helpful . i got stuck at the last permission part this video helped me
@90chiellini
@90chiellini 7 ай бұрын
Thanks bro!
@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?
@vibhasinghyadav8837
@vibhasinghyadav8837 2 жыл бұрын
Helpfull 😄
@rjpajaron
@rjpajaron Жыл бұрын
Subscribed!!!!
@nachidude123
@nachidude123 2 жыл бұрын
Nice tutorial, could you please upload a video, to authenticate the application thru certificate under key vault?
@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
@er.manojsingh7359
@er.manojsingh7359 7 ай бұрын
Please upload one video for Active Directory Authentication as well with an example.
@pinoyrunningpenguin
@pinoyrunningpenguin Жыл бұрын
So if a developer tries to debug a C# code that reads the secret value then this will expose the secret right?
@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 :-)
@ncvman
@ncvman 2 жыл бұрын
Hello sir. What is easier key vault key, secrets, cert or using managed identity to authenticate to an app to sql?
@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?
@pradeepjuyal2475
@pradeepjuyal2475 2 жыл бұрын
can you explain how to manage different environment(dev,test,qa,production) connection string using keyvault and webapp
@osmanhawlader9584
@osmanhawlader9584 9 ай бұрын
Hi Jose great video! Could you please share the source code?
@rodrigo6459
@rodrigo6459 Жыл бұрын
Any chance for an update on Core 6?... since Program.cs + Startup.cs combo are no longer a thing! :(
@deeparaj83
@deeparaj83 2 жыл бұрын
How to get the secret with managed identity ? any samples
@jcrival
@jcrival 3 жыл бұрын
Hi do you have the source code and DB to test? thanks
@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
@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.
@lieslies9521
@lieslies9521 4 ай бұрын
Hi , how to integrate hashicorp vault in .net core and moving keyvaultname to appsetings thanks in advance
@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)'
@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?
@dotnet8925
@dotnet8925 Жыл бұрын
Providing code would have been much better idea. Is this visual studio 2022?
@kavacham222
@kavacham222 Ай бұрын
Need kubernetes interview questions..
@erickgordillo4786
@erickgordillo4786 Жыл бұрын
tutorial for net framework ?
@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..
@primaryhealthcarecorporati4333
@primaryhealthcarecorporati4333 Жыл бұрын
Good Tutorial, but please avoid annoying music
@aravindsekar6284
@aravindsekar6284 2 жыл бұрын
Everything is good except the background music.
@sunilanthony17
@sunilanthony17 3 ай бұрын
This defeats the purpose of storing your secret on Azure. Anyone can run your application.
@podeig
@podeig 7 ай бұрын
Very useful, thank you :)
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 114 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 47 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Azure Key Vault Tutorial | Secure secrets, keys and certificates easily
18:43
Adam Marczak - Azure for Everyone
Рет қаралды 173 М.
Storing secrets CORRECTLY in .NET using AWS Secrets Manager
23:29
Nick Chapsas
Рет қаралды 41 М.
Azure Key Vault Complete Tutorial | Azure Devops | .Net Core
1:08:22
AzureTeach•Net
Рет қаралды 7 М.
Secretless apps with .NET and Azure Key Vault
18:25
dotnet
Рет қаралды 16 М.
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 6 МЛН
Apple watch hidden camera
0:34
_vector_
Рет қаралды 63 МЛН