How to insert multiple passwords in EAP vault using shell script

Solution Unverified - Updated -

Issue

  • Is there a way to input and store multiple passwords with one command or during the vault.sh session? We have almost 30 credentials per DB so just wondering if there was an alternate solution other than inputting it 1 by 1.

  • If inputting it 1 by 1 is the only solution, can we edit or add to an existing vault.dat file after it was completed in a previous session?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.4.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.