How to manage user secrets in dot net core

  Рет қаралды 11,865

Study Mash

Study Mash

3 жыл бұрын

When working with dot net applications, you will want to protect certain items of application settings, called user secrets, that should not be shared with others. Your user secrets might include a database connection string that also contains the user ID and the password for the database. You might also want to refrain from sharing information such as secret access keys, API keys, and connection information details for cloud services such as Azure or AWS.
However, when you share your project with others this secret information also will be shared if you are putting those in app settings and also checking in those in source control.
In this video we will see how to keep these secrets in a separate place and do not check-in those on source control. .
You can support me by donating on
www.buymeacoffee.com/studymash
Thanks
Studymash

Пікірлер: 39
@codeme8016
@codeme8016 Жыл бұрын
Inidians are so good at teaching for some reasons. I think their patience and calmness is the key. Thanks man for being detailed
@StudyMash
@StudyMash Жыл бұрын
Thanks a lot for such a wonderful comment
@mikebreeden6071
@mikebreeden6071 7 ай бұрын
I was having trouble finding this even though I know it is basic. Thanks.
@RobBowmanUK
@RobBowmanUK 3 жыл бұрын
Nice clear and concise explanation and good quality editing - thanks!
@StudyMash
@StudyMash 3 жыл бұрын
Thanks Rob
@dilshadashraf8316
@dilshadashraf8316 3 жыл бұрын
Great explanation Sir.. waiting for the next video
@bolderdenej
@bolderdenej 3 жыл бұрын
I'm from Mongolia. Great explanation thank you keep going
@StudyMash
@StudyMash 3 жыл бұрын
Glad to hear it
@devenshah3653
@devenshah3653 3 жыл бұрын
great explanation.
@rohanthakur6136
@rohanthakur6136 3 жыл бұрын
Nice explanation sir very useful session.
@bipinsingh-zx3sx
@bipinsingh-zx3sx 3 жыл бұрын
great explanation.!!!
@ritamghosh3550
@ritamghosh3550 Жыл бұрын
Great explanation, Thanks a ton🙏
@bmcgarvischool6982
@bmcgarvischool6982 2 жыл бұрын
You do a great job at explaining the why! Been enjoying this series. Just because I'm eager to know, and have little backend experience, do your videos go on to show how to save the properties posted to a users profile? For things like notifications when someone might have looked at their property or saved it.. like zillow almost? Or can we assume that we just need to create Put and Update methods like we did for Cities so that as users signup they get added to the DB and as they Post Properties, those get added to the DB with their unique identifier? Thanks again, looking forward to finishing the series.
@aspirio777
@aspirio777 3 жыл бұрын
Vert interesting, if you could make a video about main tips to secure the application it would be very interesting
@androidsavior
@androidsavior Жыл бұрын
Should i use the enviromwnt variae in the production on the server ?!
@StudyMash
@StudyMash Жыл бұрын
Yes
@ashwinichole542
@ashwinichole542 3 жыл бұрын
I follow your series from one Year .Its very helpful to me. But, when does the series end ?
@StudyMash
@StudyMash 3 жыл бұрын
Hi Amol, glad to hear that you found it helpful, only part now remaining is deployment of weapi on iis and azure and integrate login interface with webapi. Once both part are running on 2 different server and angular running on firebase is successfully communicating with api on azure all concepts are done from my side, that is usually required for a developer to learn. You can consider it as an end of this series. But I will keep adding more and more feature to this application i.e. uploading image using firebase service, uploading image using cloudenary service, chat service using websocket and many more feature as advance topics. I will also keep upgrading this app for all upcoming angular versions. I have plan to finish adding all advance feature to this app by the end of this year. I know it is long time but you will learn a lot in this series.
@aspirio777
@aspirio777 3 жыл бұрын
Also if i m deploying the app on a online host, is it possible to do the same ?
@StudyMash
@StudyMash 3 жыл бұрын
Yes, you can do that on online host as well, all host provides and CPanel to configure environment variables.
@paulivan7319
@paulivan7319 3 жыл бұрын
If I remove Key from appsettings my app is not working
@StudyMash
@StudyMash 3 жыл бұрын
Either you should have this key in appsettings or it should be available in environment variables.
@mahmmoudkinawy2783
@mahmmoudkinawy2783 3 жыл бұрын
Are you going to complete it sir ?
@StudyMash
@StudyMash 3 жыл бұрын
Yes, final lesson on security is published on this Sunday, then we will see how to publish api on azure
@mahmmoudkinawy2783
@mahmmoudkinawy2783 3 жыл бұрын
@@StudyMash can I contact with you sir ?
@StudyMash
@StudyMash 3 жыл бұрын
Sure, I am available on sandeep@studymash.com or you can chat with me on sandeep11ind on skype
@AlHanifDairies
@AlHanifDairies 3 жыл бұрын
how to run this command on visual studio ?
Protect passwords with hashing and salting
18:40
Study Mash
Рет қаралды 10 М.
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 22 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 3,8 МЛН
Coding Shorts: Stop Leaking Secrets in ASP.NET Core
14:19
Shawn Wildermuth
Рет қаралды 5 М.
Managing User Secrets
22:01
Microsoft Visual Studio
Рет қаралды 30 М.
Secure a .NET Core API with Bearer Authentication
1:06:56
Les Jackson
Рет қаралды 189 М.
Configuring AWS Credentials for  .NET Applications | .NET on AWS
28:20
Coding Shorts: I Think We Can Do Better Than User Secrets
13:30
Shawn Wildermuth
Рет қаралды 3,7 М.