PowerShell / PowerShell/PSResourceGet
Save/Install PSResource Credential should be in a separate parameterset with URI
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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