dotnet nuget
Starting from dotnet 3.1.200 there is build in nuget sources manager in dotnet core.
dotnet nuget list sourcedotnet nuget remove source TeamCitydotnet nuget add source https://teamcity.rabota.ua/httpAuth/app/nuget/feed/\_Root/default/v3/index.json --name TeamCity --username AlexandrM --password xxx --store-password-in-clear-textdotnet nuget update source TeamCity --source https://teamcity.rabota.ua/httpAuth/app/nuget/feed/\_Root/default/v3/index.json --username AlexandrM --password xxx --store-password-in-clear-textUpdate source credentials
Each time active directory password rotated you will need to run this
dotnet nuget update source TeamCity --username AlexandrM --password xxx --store-password-in-clear-textAt moment encryption of credentials is available only on windows platform