Can we use encrypted password in shell script to execute CLI command ?
Issue
- We are using shell script to execute CLI command, like as:
$JBOSS_HOME/bin/jboss-cli.sh --connect --controller=$Host:$Port --user=User_Name --password=xxxx --command="xxxx""
-
We don't want to use clear text password which is able to see with ps command.
-
Is there a way we can use encrypted password in shell script ?
-
Is it possible to secure the password when using
JBoss CLI? -
how can we encrypt the passwords for the key and truststore when we use SSL enabled CLI
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.