Target Audience: Admins


How to Encrypt and Decrypt the Hive password using Infoworks Utility script


Please follow the below steps

1. Login Infoworks Edge Node

2. cd $IW_HOME/bin

3. source env.sh


4. cd $IW_HOME/apricot-meteor/infoworks_python/infoworks/bin


To Encrypt use the below command 


sh infoworks_security.sh -encrypt -p <HIVE password>

example:

sh infoworks_security.sh -encrypt -p 123456

Output:

QDxLAnl+qDFR8RcWGoWijruXmq1NMSyr6yzlcXczTJA=



To Decrypt use the below command


sh infoworks_security.sh -decrypt -p <Encrypted password>


example:

sh infoworks_security.sh -decrypt -p QDxLAnl+qDFR8RcWGoWijruXmq1NMSyr6yzlcXczTJA=

Output:

123456


To get more details about the script please perform the below command


sh infoworks_security.sh  -h

Thanks,
Sri