-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make keyring integration opt-in (closes #8719, #6773) #11215
Conversation
This reverts commit aba9e96.
45f2aeb
to
ec0348d
Compare
Changes from #11589 are now incorporated, there were some relatively small conflicts but nothing too bad. I didn't note this before, but the main change of this PR is to make This is once again ready for review |
CI failure is not related to this changeset, see #11643 |
See recent discussions in #8719 (comment) |
Closing in favor of #11698 |
This PR adds the
--enable-keyring
flag to requirement commands, as laid out in #8719. This also implicitly fixes #6773 and possibly some related issues by makingkeyring
an opt-in feature.I've tested this locally (including environment variable and config file specification) by sticking breakpoints around the retrieval of credentials from the keyring, and it seems to be right. I haven't added any test here because 1) the existing tests are kind of abstract, and 2) I'm not sure if the internal plumbing is quite right anyway. Happy to make changes as desired by the maintainers.