Could the team consider dogfooding PowerShellGet3 against authenticated feeds, please? #1157
Neil Barnwell (nbarnwell)
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm afraid authenticated feeds (e.g. Azure DevOps artifacts) are a hot mess. I've learned all about PowerShellCompat, SecretManagement and SecretStore, but despite getting all the ducks in a row, I get 401 codes back and storing new package feeds doesn't store the auth creds etc. No-one believes me, but if you use an authenticated feed for a couple of weeks, you'll get the picture.
Here is how I try to set things up on a new machine:
After this I should be able to do
Install-PSResource [package id]but as I said, I get a lot of errors and failures.I've currently given up, and instead I'm just automating the clone of my PowerShell module git repos, and copying the module files into my profile's
PowerShell\modulesfolder. :(All reactions