You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publishing with py_wheel seems to only support username/password auth. It would be great to support keyring auth methods as well to better support private registries.
The pushing is done via a simple bazel run invocation whereas pip.parse is downloading everything using repository_ctx.download which cannot share code.
🚀 feature request
Relevant Rules
py_wheel
Description
Publishing with
py_wheel
seems to only support username/password auth. It would be great to supportkeyring
auth methods as well to better support private registries.For example, https://cloud.google.com/artifact-registry/docs/python/authentication#keyring-setup describes how to set up keyring for Artifact Registry. This already appears to have been address for pulling from private registries in #1578.
Describe the solution you'd like
I'm not very familiar with how wheel publishing works, but I would hope that it would be able to use the same mechanism that is now used for
pip.parse
Describe alternatives you've considered
Username and password auth is possible as a workaround, but it goes against most security best practices and is more difficult to integrate in CI.
The text was updated successfully, but these errors were encountered: