How to make a random password from Linux CLI. Either of these work, but pwgen is a great little program.
b64encode /dev/urandom pw | fold -w 16 | head openssl rand -base64 16 pwgen