-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Issue Kind
Brand new capability
Description
Poetry has support for pulling authentication information out of the system keyring. This (largely) works the same as pip's keyring support, and the documentation even references pip's behavior:
Poetry will fallback to Pip style use of keyring so that backends like Microsoft’s artifacts-keyring get a chance to retrieve valid credentials
However, poetry does not have support for invoking keyring as a subprocess (see pip's documentation for this here).
Impact
The author of pip's keyring support actually intended for people to use it as a subprocess, rather than an import ("As the author of the --keyring-provider flag I recommend you use the subprocess provider").
My company would like to use it to avoid a chicken/egg problem (bootstrapping a single systemwide keyring binary with the appropriate keyring backend is easier than doing it for every installation of poetry), and to keep our configuration as in sync with pip as possible.
Workarounds
The alternative is for people to carefully configure their poetry venv to be configured the same as their global keyring installation.