Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggest using API token when uploading to PyPI #343

Open
brainwane opened this issue Feb 1, 2020 · 5 comments
Open

suggest using API token when uploading to PyPI #343

brainwane opened this issue Feb 1, 2020 · 5 comments

Comments

@brainwane
Copy link

Hi! In the documentation perhaps you could change

username:maurits
password:secret

to instead suggest people use an API token for PyPI uploads?

Thanks!

@mauritsvanrees
Copy link
Member

I am not using API tokens myself yet, so I am not ready to recommend it. I do want to try it though. Thanks for pointing it out. I'll keep this issue open.

@reinout
Copy link
Collaborator

reinout commented Feb 2, 2020

I tried it out in one project: works like a charm.

@icemac
Copy link

icemac commented Feb 14, 2020

I am using a singe API token for all my projects. It works like a charm but it does not provide much more security than using the password.
It would be interesting to have support for different API tokens for different projects.

@brainwane
Copy link
Author

brainwane commented Feb 14, 2020 via email

@Behoston
Copy link
Contributor

Why change, API tokens works exactly same way that user and password works. It's up to you: you can use token or credentials, official documentation is linked, you should use it for pypi configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants