You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
Issue
The current documentation on authentication for private repositories (web link, source code) states that "Depending on your system configuration, credentials might be saved in your command line history".
This is an important disclaimer, as you should generally never type credentials into the terminal prompt itself. However, the only suggested solution is prefixing your command with a space, which does not work for me in the shells I tested (on both Windows and Unix).
There is, however, a much simpler way: just run poetry config http-basic.foo <username>, i.e. don't enter the password, and you will be prompted for it with an "invisible" password prompt, which does not show up in the shell history, nor anywhere else as far as I understand (tested on Windows powershell with poetry version 1.7.1).
Should be a pretty trivial fix if you're set up for contributing to this repository, but I don't really want to go through the trouble to set that up - hence this issue.
The text was updated successfully, but these errors were encountered:
Issue
The current documentation on authentication for private repositories (web link, source code) states that "Depending on your system configuration, credentials might be saved in your command line history".
This is an important disclaimer, as you should generally never type credentials into the terminal prompt itself. However, the only suggested solution is prefixing your command with a space, which does not work for me in the shells I tested (on both Windows and Unix).
There is, however, a much simpler way: just run
poetry config http-basic.foo <username>
, i.e. don't enter the password, and you will be prompted for it with an "invisible" password prompt, which does not show up in the shell history, nor anywhere else as far as I understand (tested on Windows powershell with poetry version 1.7.1).Should be a pretty trivial fix if you're set up for contributing to this repository, but I don't really want to go through the trouble to set that up - hence this issue.
The text was updated successfully, but these errors were encountered: