Due to its design, pip does not support reading credentials from a file. Credentials can be supplied as part of the URL, for example http://<username>:<password>@localhost:8081/artifactory/api/pypi/pypi-local/simple
. The password can be omitted (with the preceding colon), and in this case, the user will be prompted to enter credentials interactively.