@codewiz
If you type a lot of passwords in your terminal, I have a Cosmic Term branch with a simple password manager
https://github.com/snaggen/cosmic-term/tree/password_manager
It stores and retrieves passwords from the default keyring, so the passwords are stored safely.