0

I have a spring boot api secured with spring basic security. I call the api from another application. So I currently have the password in plain text in the application.yml files of my api and also the application.yml file from which I am calling the service.

How can I avoid having it in plain text in the yml? is there a way to have an encrypted password in both yml files?

The Reedemed77
  • 419
  • 1
  • 6
  • 14

1 Answers1

0

I ended up using Jasypt (Java Simplified Encryption). This was very helpful

The Reedemed77
  • 419
  • 1
  • 6
  • 14