-
Notifications
You must be signed in to change notification settings - Fork 306
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
No documentation on using keyring? #277
Comments
I'd be happy to accept a pull request documenting this. The fact of the matter is that I don't know how to use it. I didn't add the feature so I have no clue how to tell others to use it. I have similar password-manager based ways of doing what @glyph suggests. |
Seems like the only documentation is the README? Since twine's original purpose was security, it may make sense to at least outline both approaches there? |
You can set your password via: import keyring
keyring.set_password("https://pypi.org/legacy/", username, password) But arguably this isn't worth the effort, since the default access control granted by |
Within the terminal you can, per #208 (comment),
I haven't yet been able to successfully get this to work -- I'm getting the But I figure this info should indeed go into the twine README, into some kind of command-line help within Twine, and into the packaging guide, per pypa/packaging.python.org#297. |
I got I'm working towards getting Twine 1.10.1 out in the next few days and would strongly welcome doc improvements related to |
Add instructions on how to use keyring Fixes #277.
Thank you @jonparrott for collaborating with me on IRC just now and adding these instructions! I anticipate this'll be part of the Twine 1.11.0 release tomorrow. |
TIL from @glyph's blog post that twine supports the keyring module for storing PyPI creds, yay!
But there doesn’t seem any documentation at all, how to use it? There’s a changelog entry and there's setup.py that gives you the hint there might be more. However I wasn’t able to find any other docs.
I’m gonna update my PyPI blog post but you should really add some docs so people stop storing their password in plain ini files if the feature’s there!
The text was updated successfully, but these errors were encountered: