DevQuestions with Tim Corey · Tim Corey
Where do I put my secrets in my application? Should I encrypt my connection strings? Are user secrets actually secure when they are in plain text? How do I protect my passwords and API keys from developers and users? These are the questions we will answer in today's episode of DevQuestions. Website: https://www.DevForge.com/ Ask Your Question: https://suggestions.iamtimcorey.com/ Sign Up to Get More Great Developer Content in Your Inbox: https://signup.iamtimcorey.com/
0:04SPEAKER_00Most applications have to deal with secret information.
0:08SPEAKER_00From API keys to passwords to connection strings, connecting to sensitive resources involves secrets.
0:14SPEAKER_00So where do you put them?
0:16SPEAKER_00How do you ensure they are staying secret?
0:18SPEAKER_00Those answers change based upon a lot of factors, including development versus production, and whether or not you're using an AI to help you in development.
0:28SPEAKER_00So let's talk about it in today's episode of DevQuestions.
0:41SPEAKER_00Software development is more than just writing code.
0:44SPEAKER_00So let's talk about the rest of it.
0:45SPEAKER_00Specifically, let's talk about where to store your secrets as a developer.
0:50SPEAKER_00And let's start off by saying that this answer has changed a bit in light of AI agents.
0:56SPEAKER_00So what was recommended practice isn't necessarily the right call anymore.
1:01SPEAKER_00Also, I'm going to be addressing this as a.NET developer.
1:04SPEAKER_00If you are a.NET developer, some of this might not apply.
1:07SPEAKER_00However, most of it will.
1:09SPEAKER_00And the principles will be similar for your language.