PSResourceGet icon indicating copy to clipboard operation
PSResourceGet copied to clipboard

Allow 3rd-Party CredentialProviders

Open stevek opened this issue 6 years ago • 6 comments

Currently Get-CredsFromCredentialProvider.ps1 is hard-wired to only allow CredentialProviders for pkgs.dev.azure.com and pkgs.visualstudio.com. To enable a 3rd party to write their own credential provider:

  • remove lines 17-23 in that file

or

  • provide a means to customize the sanity check
  • provide a way to point to a custom CredentialProvder.

stevek avatar Oct 29 '19 17:10 stevek

@stevek thanks for opening this feature request, and providing some details--this change would break our current behavior but is something we will consider as we iterate on PowerShellGet 3.0 (particularly if this continues to draw user interest)

SydneyhSmith avatar Oct 31 '19 19:10 SydneyhSmith

@SydneyhSmith Is there any official timeline or roadmap for PowerShellGet 3.0 (then presumably supporting NuGet 3.0)? This would be really informative for the users and help getting support for open tasks to reach this goal. Right now, connecting PowerShellGet with Azure DevOps artifacts is a real pain for me as well.

skaempfer avatar Nov 21 '19 12:11 skaempfer

@skaempfer we are targeting a preview release of PowerShellGet 3.0 at the end of this year--however this preview may not be feature complete

SydneyhSmith avatar Nov 21 '19 22:11 SydneyhSmith

Looking forward to it! I'm fine with a mvp preview release :)

skaempfer avatar Nov 22 '19 14:11 skaempfer

Hi all, has this issue been implemented in PowershellGet 3.0 and is there a date for the release? Apologies if I missed it somewhere. Thanks!

justinsmits avatar Mar 27 '20 14:03 justinsmits

Since I was wondering myself, this seems to be the current status of things: In PowerShellGet 3.0 preview 14 the -CredentialInfo parameter was added which interacts with SecretManagement.

Darsstar avatar Aug 10 '22 12:08 Darsstar