To save the password in any of the environment variables use the export command. For that, use the syntax, export MY_PASSWORD="your_password_here".