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

Configuring credentials for private repositories #8959

Closed
1 task done
AdrianSchneble opened this issue Feb 9, 2024 · 2 comments · Fixed by #9074
Closed
1 task done

Configuring credentials for private repositories #8959

AdrianSchneble opened this issue Feb 9, 2024 · 2 comments · Fixed by #9074
Labels
area/docs Documentation issues/improvements

Comments

@AdrianSchneble
Copy link

  • 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.

@AdrianSchneble AdrianSchneble added area/docs Documentation issues/improvements status/triage This issue needs to be triaged labels Feb 9, 2024
@dimbleby
Copy link
Contributor

dimbleby commented Feb 9, 2024

issue reports that say they wish someone else would write better docs have a low probability of achieving anything.

please submit a merge request

@abn abn removed the status/triage This issue needs to be triaged label Feb 29, 2024
@abn abn closed this as completed in #9074 Mar 1, 2024
Copy link

github-actions bot commented Apr 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/docs Documentation issues/improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants