Store Encrypted Passwords in Deploy
This topic describes how Digital.ai Deploy provides a mechanism to automatically encrypt passwords, allowing you to reference them without storing third-party passwords in plain text in configuration files.
To declare a new third-party password:
-
Add the password to the
XL_DEPLOY_SERVER_HOME/conf/deployit.conf
file:third.party.password=value
noteAny secrets in the configuration file that have the password or secret suffix will be encrypted.
-
Restart Deploy. The password will automatically be encrypted in the deployit.conf file.
third.party.password={aes\:v0}vEWwVYoSXqKXW+1Zro5u4KwFiMfsQJ0TJBeTsmtXgv8\=
-
Use the password in Spring configuration files.
For example, if you declare
ldap.xldeploy.password
in thedeployit.conf
file, then you can use it in theXL_DEPLOY_SERVER_HOME/conf/deployit-security.xml
file:<bean id="ldapServer" class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
<property name="password" value="${ldap.xldeploy.password}"/>
...
</bean>