dephell self auth¶
Manage credentials: add, update, remove. These credentials are used for Basic HTTP authentication for custom PyPI repositories.
Add new credentials:
$ dephell self auth pypi.example.com my-useranme "my-p@ssword"
INFO credentials added (hostname=pypi.example.com, username=my-useranme)
Remove credentials for user:
$ dephell self auth pypi.example.com my-useranme
INFO credentials removed (hostname=pypi.example.com, username=my-useranme)
Remove credentials for all users for given hostname:
$ dephell self auth pypi.example.com
INFO credentials removed (hostname=pypi.example.com, count=1)
Credentials are stored in global config. If you add credentials for example.com
, they will be used in all projects to connect to example.com
.
See also¶
- Private PyPI repository usage details and examples.
- dephell inspect auth to list added credentials.
- dephell deps install to install dependencies from private repository.