Open
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.