I have credential.helper=manager-core
, which is the new helper for windows credential manager. I don't understand how is it secure if you can get git to display your credentials with git credential fill
.
Steps to reproduce
- confirm the credential helper by executing command
git config --system --list
. If you are running Git for Windows 2.29 or later, then you should be able to seecredential.helper=manager-core
in the list. For earlier versions thecredential.helper
is set tomanager
and notmanager-core
. I'm running the latest Git For Windows 2.29.2 , so for me it returnmanager-core
. - Next, if your credentials have been stored by the helper, then below command should return the credentials on stdout :
git credential fill
protocol=https
host=github.com`
<HIT ENTER KEY TWICE, as A blank line signals input completion>
- The credentials should now display on your console. It is able to display password/token based on whatever you initially configured your git with. In my case I had authenticated with a GitHub personal access token and it displayed that pat.
The reason this is secure is because if you've properly configured an appropriate credential manager, the data is stored in an encrypted format
: On this note I would like to point out that I see one more option i.e.credential.https://dev.azure.com.usehttppath=true
. Is this the configuration that you are referring to in your statement. – Cutlerr