Closed dalen closed 6 years ago
I've not see keyring
before, does this use an operating system specific process for storing passwords? Like Keychain for OSX?
Is there any specific preconditions required for this module to work?
It looks like there are a couple of format issues that would be great to be fixed before merging.
./aws_google_auth/__init__.py:167:9: E112 expected an indented block
./aws_google_auth/__init__.py:167:14: E999 IndentationError: expected an indented block
and actually, that looks like it caught a real error with indentation.
Ooops, I had some auto formatting turned on and then tried to commit only lines I had actually changed. Must have done some mistake selecting changes there, will fix.
The keyring module supports a bunch of backends and has plugin support if you want to roll your own backend: https://pypi.python.org/pypi/keyring
These recommended keyring backends are supported by the Python keyring lib:
- Mac OS X Keychain
- Freedesktop Secret Service (requires secretstorage)
- KWallet (requires dbus)
- Windows Credential Locker
Great, thanks
Released as part of 0.0.24
Add a
--keyring
option to fetch and store the password in the keyring. Depends on the keyring module.