Encrypting passwords in JBoss EAP 6/7 configuration files using the Vault

Solution Verified - Updated -


  • Configure vault to encrypt passwords in configuration files
  • Encrypt the database password
  • Update vault attribute value
  • Avoid plain text username and password in the standalone.xml / domain.xml file.
  • How to encrypt RHPAM controller password ?


  • Red Hat JBoss Enterprise Application Platform (JBoss EAP) 6/7
  • Clear text passwords in the configuration or on the command line

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content