keyring
last updated: Oct 20, 2023
https://pypi.org/project/keyring/
The Python keyring library provides an easy way to access the system keyring service from python. It can be used in any application that needs safe password storage.
- macOSÂ Keychain
- Freedesktop Secret Service supports many DE including GNOME (requires secretstorage)
- KDE4 & KDE5 KWallet (requires dbus)
- Windows Credential Locker
I found this tool super helpful when building command line tooling for a mixed-OS team. Store a secret in the system's secret store, whatever that may be.
Backlinks: