Is It Necessary to Use Key Vault for Storing Secrets in Azure?

0
15
Asked By SillyPanda82 On

I'm developing a web app using .NET Core MVC and while Secrets.json works fine for local development, I know it isn't suitable for production. Once I deploy my app on Azure, I'm wondering if I really need to invest in Azure Key Vault for storing sensitive information like OAuth2 client IDs and AES encryption keys, or if environment variables would be secure enough. I'm new to Azure, so I'm looking for guidance on best practices here!

5 Answers

Answered By CautiousDev On

I wouldn't recommend just relying on environment variables. While they are somewhat secure, Key Vault provides versioning, expiration, and better management for secrets, especially if you're working on multiple apps or microservices. Trust me, you'll regret not using it when you need to update secrets frequently!

Answered By DevGuru123 On

Using environment variables alone is risky, especially for sensitive secrets. It's true, you could get away with it for a while, but Key Vault is definitely the better option for maintaining good security practices.

Answered By SecureCoder101 On

This isn't a dumb question at all! There are various places to store sensitive information, but they each have different security levels. You can store secrets in AppSettings, which can be encrypted, but using Key Vault is definitely cleaner and more secure in the long run.

Answered By BudgetWatcher On

To answer your question about costs—it's really minimal compared to the convenience and security it offers. You probably won't even notice it in your billing! Make sure to consider the long-term benefits over short-term savings.

Answered By TechSavvyNinja On

Definitely go for Key Vault! It's super affordable, and you won't even notice the cost when you load your secrets once your app starts. Protecting your secrets is crucial, and Key Vault makes that easy without breaking the bank.

CuriousCoder91 -

I get it, cutting costs seems tempting, but when it comes to security, it's worth investing in the right tools! We've had great experiences using Key Vault at work.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.