The dotnet nuget update source command updates an existing source in your NuGet configuration files.
Arguments
NAME
Name of the source.
Options
--configfile
The NuGet configuration file (nuget.config) to use. If specified, only the settings from this file will be used. If not specified, the hierarchy of configuration files from the current directory will be used. For more information, see Common NuGet Configurations.
-p|--password
Password to be used when connecting to an authenticated source.
Note
Be aware that encrypted passwords are only supported on Windows.
Moreover, they can only be decrypted on the same machine and by the same user who originally encrypted them.
-s|--source
Path to the package source.
--store-password-in-clear-text
Enables storing portable package source credentials by disabling password encryption.
Username to be used when connecting to an authenticated source.
--valid-authentication-types
Comma-separated list of valid authentication types for this source. Set this to basic if the server advertises NTLM or Negotiate and your credentials must be sent using the Basic mechanism, for instance when using a PAT with on-premises Azure DevOps Server. Other valid values include negotiate, kerberos, ntlm, and digest, but these values are unlikely to be useful.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.