Reputation: 37106
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
Upvotes: -1
Views: 321
Reputation: 1082
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>
.Upvotes: 0