Closed Darian-FRB closed 5 months ago
A few notes:
Register-PSResourceRepository
cmdlet expects a Microsoft.PowerShell.PSResourceGet.UtilClasses.PSCredentialInfo object for the -CredentialInfo
parameter, not a PSCredential object.Regarding whether the SecretStore module is required, a note in the prerequisites section of the article clarifies:
This example uses SecretStore, but you can use any SecretManagement extension vault and with any repository.
There are severable available extension vaults, including Azure KeyVault, that you can use instead of a SecretStore vault.
Type of issue
Missing information
Feedback
My organization maintains private repositories protected by credentials. The documentation references, in bold, SecretStore. This is a generic term whose definition varies.
It is not clear if a PowerShell credential object is supported, Creating credential object, or if the / module is required.
If the module is required, it is concerning that:
This module is supported under traditional Microsoft support agreements, including paid support, Microsoft Enterprise Agreements, and Microsoft Software Assurance. You can also pay for support for PowerShell by filing a support request for your problem. Please file issues in the source repository using the This product button in the Feedback section at the bottom of the page.
Page URL
https://learn.microsoft.com/en-us/powershell/gallery/powershellget/how-to/credential-persistence?view=powershellget-3.x
Content source URL
https://github.com/MicrosoftDocs/PowerShell-Docs-PSGet/blob/main/powershell-gallery/docs-conceptual/powershellget/how-to/credential-persistence.md
Author
@sdwheeler
Document Id
2af43a73-f1b0-8080-5a70-60b5f51e5ba3