the cedential manager method works, but in my case add:
- internet or network addess "myPassGroup"
- username "pass1"
- password "xxx"
then add another entry using the same network address
- internet or netwokr address "myPassGroup"
- username "pass2"
- password "xxx"
the pass2 will OVERRIDE the frist entry pass1!
this is a major drewback, as the "internet or network address" is
served as a groupname in keyring, I need put mutiple password under
the same name
my solution is to use the python command direct
- open CMD in windows
- type Python
- then type import keyring
- then type keyring.set_password("groupName", "passKey" ,"password")
- then type keyring.set_password("groupName", "passKey2" ,"password2")
you can validate the result by
- keying.get_password("groupname", "passKey")
- keying.get_password("groupname", "passKey2")
I konw this will work, but still struggle to find where the actual data
is saved
I used the following command try to find out
the data_root in my case is "C:\Users\JunchenLiu\AppData\Local\Python Keyring"
I checked the folder, it doesn't exists... it must been saved somewhere. maybe someone can figure it out.
but my solution should work prefectly on Windows
C:\Users\username\AppData\Roaming\Microsoft\Credentials
C:\Users\username\AppData\Local\Microsoft\Credentials
but the file is encrypted. Check out this thread: serverfault.com/questions/770996/… – Bookrest