Managing multiple stored PyPI tokens for multiple projects. #5620
Unanswered
needs-coffee
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
I have had a further look at the source and how passwords are stored - there is currently no mechanism for storing differing authentication tokens /project for the same repository, unless you create a new repository for PyPi with an alias name. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation outlines how to store PyPI credentials for publishing packages with
poetry config pypi-token.pypi my-tokenor using ENV variables to store the token.Tokens on PyPI can be created with limited scope to only allow certain projects to use certain tokens, how can you store multiple tokens for multiple different projects in the above manner?
Is the only current alternative to supply them at command line run or with an ENV variable? (as far as i can ascertain poetry is not able to load variables from
.envfiles in the project directory)thanks!
Beta Was this translation helpful? Give feedback.
All reactions