如何通过 CredentialProvider.VSS.exe 清除凭据缓存

Wil*_*ang 3 nuget azure-devops azure-artifacts

我在Azure Artifacts上制作了 NuGet feed 。我安装NuGet.exeCredentialProvider.VSS.exe进入我的项目。我可以列出/获取/推送 NuGet 包。这个时候就完全没有问题了。但我想清除由 . 创建的凭据缓存CredentialProvider.VSS.exe。我怎样才能做到这一点?

Tom*_*SFT 6

我想清除由 CredentialProvider.VSS.exe 创建的凭据缓存。我怎样才能做到这一点?

CredentialProvider.VSS.exe 在注册表路径中存储并使用凭据。如果您想清除凭据,可以从注册表中删除令牌值。

Computer\HKEY_CURRENT_USER\Software\Microsoft\VSCommon\14.0\ClientServices\TokenStorage\VisualStudio\VssApp\{xxxx}
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述