Merge pull request #8636 from EpicWink/doc/keyring

Document keyring support for index basic-auth
This commit is contained in:
Chris Hunt 2020-08-08 09:05:32 -04:00 committed by GitHub
commit 2e4d748897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -79,6 +79,22 @@ as the "username" and do not provide a password, for example -
``https://0123456789abcdef@pypi.company.com``
Keyring Support
---------------
pip also supports credentials stored in your keyring using the `keyring`_
library. Note that ``keyring`` will need to be installed separately, as pip
does not come with it included.
.. code-block:: shell
pip install keyring
echo your-password | keyring set pypi.company.com your-username
pip install your-package --extra-index-url https://pypi.company.com/
.. _keyring: https://pypi.org/project/keyring/
Using a Proxy Server
====================

1
news/8636.doc Normal file
View File

@ -0,0 +1 @@
Add note and example on keyring support for index basic-auth