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

  1. Private PyPI repository usage details and examples.
  2. dephell inspect auth to list added credentials.
  3. dephell deps install to install dependencies from private repository.