Python/keyring
< Python
https://github.com/jaraco/keyring
# sudo apt install -y pkg-config cmake libdbus-1-dev libdbus-1-3 libglib2.0-dev # pip install --upgrade secretstorage dbus-python
pip install --upgrade keyring
>>> import keyring
>>> keyring.set_password("system", "username", "password")
>>> keyring.get_password("system", "username")
'password'
$ keyring --help $ keyring set system username Password for 'username' in 'system': $ keyring get system username password
keyrings
See python/keyrings