Python keyring
From wikinotes
Library and commandline tool that abstracts linux/windows/macos keyrings to save/retrieve passwords.
Documentation
github https://github.com/jaraco/keyring pypi https://pypi.org/project/keyring/
Install
sudo pacman -S python-keyring
Usage
# set password (interactive) keyring set system username # set password (non-interactive) echo "password" \ | keyring set system username # get password keyring get system username