The .net core server code I'm working on is going to be hosted both in cloud infrastructure and on premises.
There are many options to handle secret management (connection strings etc...):
- Big cloud providers are offering dedicated secret management solutions (AWS KMS, Azure Key Vault, etc..).
- Popular orchestrators, offer also their own service (Kubernetes Secrets for example)
- In development, we have dedicated secret management tools & process (which are nice)
But how can I store securely secrets on premise hosting? I doubt setting it as a simple variable environment is considered as safe?