Skip to content

Commit

Permalink
Support custom jceks
Browse files Browse the repository at this point in the history
  • Loading branch information
sreenaths committed Oct 23, 2023
1 parent 99f7d06 commit f051be8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/container/hue/hueconf/altscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ if [ "${ALIAS}" = "" ]; then
exit 1
fi

exec /usr/bin/java -cp /etc/hue/conf/security-7.2.3.jar com.cloudera.enterprise.crypto.JceksPasswordExtractor /jceks/secrets.jceks "${ALIAS}"
JCEKS_PATH=$2
if [ "${JCEKS_PATH}" = "" ]; then
JCEKS_PATH="/jceks/secrets.jceks"
fi

exec /usr/bin/java -cp /etc/hue/conf/security-7.2.3.jar com.cloudera.enterprise.crypto.JceksPasswordExtractor "${JCEKS_PATH}" "${ALIAS}"

0 comments on commit f051be8

Please sign in to comment.