In my spring boot application I have following configuration for LDAP
ldap:
connection:
host: 123.45.67.89
port: 389
user: CN=Administrator,CN=Users,DC=MYCOMPANY,DC=COM
password: SuPeRsEcrEt123#
Is there way to encrypt LDAP password ? at least Base64
You can use Spring Cloud Config to do this.
spring-cloud-starter-config
dependency.spring encrypt <string to encrypt> --key <encrypt key>
.-DENCRYPT_KEY=<encrypt key>
or-Dencrypt.key=<encrypt key>
.