-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide password #172
Comments
Hi @SteveOgh , What you can do is to write your password to an environment variable and use it in your call: Linux/Unix:
Windows:
That way it is not shown and - as far as I know - not written to the command history. It might still be useful to have another option. What comes to my mind:
I prefer 1 over 2, because prompting might break automated setups and it's also harder to implement. |
In linux using an environment-variable in/as a commandline parameter does not really hide the value (only in shell history). Example ` |
Hi there, i am commenting this issue - hope it is okay to track it here:
Can i hide the password at least from the DEBUG output?
EDIT 7-AUG-2023: It is possible by placing a
Reading a bit about Logback it says that Logback scans the classpath for such an .xml. In my case i had to create a ./etc directory:
I did find my classpath by adding an imho it still makes sense to change the logging level in the code to |
Looking for method(s) to hide the password portion of the for demos and scripts.
The text was updated successfully, but these errors were encountered: