Encrypt configuration values in EAP 6

Solution Verified - Updated -

Issue

  • Can you advise how we can encrypt the values in the configuration files of EAP 6? For example the bindCredential of a LdapExtLoginModule (security-domain) in standalone.xml?

  • The Vault Keystore for ldap "bindCredential" is not working with the following setting:-

<module-option name="bindCredential" value="${VAULT::wasadminlocalte::password::XXXXXXXXXXXXXXX}"/>
  • When LDAP configuration passwords are configured using XML attributes and not XML element values, as shown below, the vault encryption does not work:-
<module-option name="bindCredential" value="${VAULT::someblock::somepwd::XXXXXXXXXXXXXX}"/>

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.