NuGet Package Source limited to specific author

117 Views Asked by At

Is it possible to configure a NuGet source to only allow pulling of packages from a specific root author ?

My specific use-case :

Visual Studio NuGet Package Manager Microsoft packages only

You might be wondering why ? The answer relates to trust in a corporate environment.

1

There are 1 best solutions below

0
rbennett485 On

Yes

e.g.

nuget.exe trusted-signers add -name Microsoft -certificateFingerprint 3F9001EA83C560D712C24CF213C3D312CB3BFF51EE89435D3430BD06B5D0EECE