jonthegeek / beekeeper

Rapidly Scaffold API Client Packages
https://beekeeper.api2r.org/
Other
48 stars 0 forks source link

Use keyring #58

Open jonthegeek opened 6 months ago

jonthegeek commented 6 months ago

As a package developer, in order to encourage best practices, I would like to provide keyring functionality.

For auth, create a function along the lines of get_default_key(), which reads from {keyring} if installed, else an envvar. Also create a setter function for the API. Most of this functionality should be bundled in nectar, but still give the API-wrapping package a version with named keys, etc.