PowerShell / PowerShell/PSResourceGet

Save/Install PSResource Credential should be in a separate parameterset with URI

Open
#121 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Typically the Credential should be stored with the PSRepository settings (Ideally protected by Microsoft.Powershell.SecretManagement), and thus the appropriate credentials are relevant there.

If the use case of having credential on these commands directly is to allow for one-off or one-time installations and not save the repository, then it should be gated off to a separate parameterset to explicity note this use case and only allow one repository to be specified either via the repository parameter or a direct URI parameter.

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

Start by locating the Save-PSResource and Install-PSResource parameter definitions and the PSRepository settings handling. Review how Credential, Repository, and a direct URI currently interact, then define the separate parameter set and verify that one-off use permits only one repository or URI without saving repository credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.