I am using Spark 2.3.1 on Mac, in Java.
I have confidential security info stored in an environment variable. However, as it's confidential, I don't want to expose its value through ps -e
nor from http://localhost:4040/environment/
.
Is there a way within Spark for me to hide the value please? Or anyway by code seal the value, while not affecting other Spark/Java functions.