PowerShell / PowerShell/PSResourceGet

Install-Module should be able to download from private feeds that require Entra (AAD) authentication.

Open
#1,551 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Install feature_request
Dominant language
C#
Stars
576
Forks
114
Avg merge
1d 2h
Merged PRs (30d)
7

Description

Summary of the new feature / enhancement

In many environments it is a security requirement that scripts / end users do not install anything from a source that is not under direct control of the organization. So for example, if your users need some public NuGet package, then you snap a version of that public NuGet package into an organization-private feed, where it can be security-scanned, and is relatively protected from being updated unbenkownst to the organization; and users get the package from there, instead of from the public feed.

I'd like to be able to use Install-PSResource to install modules from such a private NuGet feed... but the problem is that my feed requires Entra (AAD) authentication, and I am not aware of a way to do that with a PSCredential. (And, BTW, we really do not want to use PATs.)

Proposed technical implementation details (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the Install-PSResource entry point but no files, tests, or implementation path. Start by tracing private-feed authentication and how PSCredential is handled; done means defining and testing support for Entra-authenticated private feeds without requiring PATs.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
authentication, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.