Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register-PackageSource: Doesn't save credentials to nuget.config file #67

Open
SetTrend opened this issue Jul 19, 2022 · 1 comment
Open

Comments

@SetTrend
Copy link

Current Behavior

When I enter …

Register-PackageSource -Name 'Test' -Location 'https://test.contoso.com/' -ProviderName 'NuGet' -Credential (Get-Credential) -ForceBootstrap -Trusted

… no credentials are getting saved to the nuget.config file.

Expected Behavior

If the Credential argument is provided with ProviderName being "NuGet", Register-PackageSource should save provided credentials to nuget.config file.

@SetTrend
Copy link
Author

SetTrend commented Jul 20, 2022

As a side note: The password should be stored encrypted in the nuget.config file. Providing an additional argument -AsPlainText, however, the credentials should be stored unencrypted, in plain text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant