PowerShell / PSResourceGet

PSResourceGet is the package manager for PowerShell
https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
MIT License
484 stars 92 forks source link

Install-Module should offer client certificate authentication #821

Open tylermontneyacc opened 1 year ago

tylermontneyacc commented 1 year ago

Summary of the new feature / enhancement

For instance, my private NuGet server requires a client certificate. I cannot specify this with Install-Package Install-Module.

Proposed technical implementation details (optional)

As far as I can tell, Install-Package Install-Module calls Invoke-WebRequest. This cmdlet does support client certificate authentication, which should be a simple pass through.

tylermontneyacc commented 1 year ago

Suggested I post here, by https://github.com/PowerShell/PowerShell/issues/18209

alerickson commented 1 year ago

@tylermontneyacc thanks for the suggestion! This would be a great feature to have, but unfortunately we probably won't be able to get to this issue anytime soon. We'll likely be able to look into this once we GA PowerShellGet v3 and work on adding some more new features to the module.

tylermontneyacc commented 4 weeks ago

@alerickson any update?

It would be great if PowerShellGet can integrate with Azure DevOps Artifacts. In theory, this could be facilitated by an app registration in Azure. The goal is that a device joined to Azure AD can be issued a certificate, and with that certificate authenticate against DevOps (not being tied to a specific user).

ThomasNieto commented 4 weeks ago

Install-Package cmdlet isn't in this repo. It's in the OneGet repo. It's also deprecated only getting security updates.

tylermontneyacc commented 3 weeks ago

@ThomasNieto This entire time I was actually talking about Install-Module. Sorry, no idea how I didn't catch that.