Heya, I recently released credent
(repo), a simple library that reads and writes username / password into ~/.config/<app>/credentials
for different profiles.
What it does
Reads / Writes to a file like this:
[default]
username = 'abc'
password = 'ZGVm'
[development]
username = 'azriel'
password = 'c2VjcmV0'
[production]
username = 'abc'
password = 'ZGVm'
The password types don't reveal the plain text when Display
ed or Debug
ged.