-
Notifications
You must be signed in to change notification settings - Fork 730
Open
Description
Every time I ran the install script, it said
The netcore Credential Provider is already in C:\Users\<username>\.nuget\plugins
However, when I checked the installed plugin exe's version by
(Get-Item $HOME\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.exe).VersionInfoI found it's just 1.0.0. Therefore, I finally got the latest release by running
& .\installcredprovider.ps1 -ForcePlease consider adding the functionality of version check and upgrade in the install script.
By the way, it's also surprising that the CredentialProvider.Microsoft.exe seems not to support a parameter to show itself's version.
Usage - CredentialProvider.Microsoft -options
GlobalOption Description
Plugin (-P) Used by nuget to run the credential helper in plugin mode
Uri (-U) The package source URI for which credentials will be filled
NonInteractive (-N) If present and true, providers will not issue interactive prompts
IsRetry (-I) If false / unset, INVALID CREDENTIALS MAY BE RETURNED. The caller is required to validate
returned credentials themselves, and if invalid, should call the credential provider again
with -IsRetry set. If true, the credential provider will obtain new credentials instead of
returning potentially invalid credentials from the cache.
Verbosity (-V) Display this amount of detail in the output [Default='Information']
Debug
Verbose
Information
Minimal
Warning
Error
RedactPassword (-R) Prevents writing the password to standard output (for troubleshooting purposes)
Help (-?, -h) Prints this help message
CanShowDialog (-C) If true, user can be prompted with credentials through UI, if false, device flow must be used
OutputFormat (-F) In standalone mode, format the results for human readability or as JSON. If JSON is selected,
then logging (which may include Device Code instructions) will be logged to standard error
instead of standard output.
HumanReadable
Json
Metadata
Metadata
Assignees
Labels
No labels