r-lib / keyring

:closed_lock_with_key: Access the system credential store from R
https://keyring.r-lib.org/
Other
196 stars 28 forks source link

Auto-detection of default backend #10

Closed gaborcsardi closed 7 years ago

gaborcsardi commented 7 years ago

Algorithm is simple:

  1. try os-specific backend
  2. if not available, use env.
gaborcsardi commented 7 years ago

Or maybe warn if os specific backend is not available?

gaborcsardi commented 7 years ago

I have a simple implementation for this. It would be nice to check that the selected service is actually available, e.g. on Linux the keyring daemon might not be running....