I want to make a script that asks the user for username and password and uses these for a few things at once, including connecting to OpenVPN without needing to either
- store the password on the disk
- ask the user for the data many times over
for example you can run net use with user and password to mount shares, however openVPN seemingly only has an option to pass a file with username and password.
On Linux there seemingly are solutions like this, however I don't seem to find anything similar for windows yet.
Is there a solution?