mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-11 11:46:02 +00:00
commit
d63b63f7f9
1 changed files with 11 additions and 0 deletions
|
|
@ -57,6 +57,17 @@ Then you can use::
|
|||
username = myusername
|
||||
password.fetch = ["keyring", "myservicename", "myusername"]
|
||||
|
||||
|
||||
The password can than be set like this (in a python interpreter)::
|
||||
|
||||
>>> import keyring
|
||||
>>> keyring.set_password("myservicename", "myusername", "password")
|
||||
|
||||
To test if you got it right you can run::
|
||||
|
||||
>>> keyring.get_password("myservicename", "myusername")
|
||||
"password"
|
||||
|
||||
.. _keyring: https://pypi.python.org/pypi/keyring
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue