Description
What's the problem this feature will solve?
pip cannot currently use Kerberos for authentication with web servers that support it, which may be acting as PyPI mirrors or private package repositories.
Describe the solution you'd like
If required dependencies are present, and a request to the configured server fails with headers that indicate Kerberos is supported, then attempt Kerberos authentication.
Alternative Solutions
N/A
Additional context
This is an attempt to progress #4854 by allowing discussion without the noise associated with a PR.
Currently pip only supports basic authentication with credentials provided either via keyring or inclusion in the index
/index-url
URL itself. Kerberos, as described here, would not be able to use the current basic auth mechanism for negotiation.