I have a Java spring boot application (war) which is containerised and runs on Kubernetes in Microsoft Azure.
Recently we moved all our passwords to Azure Key Vault to make it all secure but now the question arises where to store password (service principal key) for Azure key vault itself?
Also, key vault credentials (service principals) are environment specific for DEV, UAT and PROD environments.
I thought about encrypting the password but then the question is where to put the encryption key? There has to be at least one starting point where password is stored not so securely.
Also, I do not want to use any third party libraries which are not from a trusted source e.g. Jasypt is out of the question.
Any ideas?