Update Register-PSResourceRepository.md - Example 4#225
Update Register-PSResourceRepository.md - Example 4#225sdwheeler merged 3 commits intoMicrosoftDocs:mainfrom
Conversation
Provide a little more information around example 4. From my reading here it wasn't clear anywhere that the secret must be stored as a PSCredential object and expected Find-PSResource to use the name of the secret and the value of the secret as username/password. This wasn't the case.
Improve contrib guide adherance
|
Learn Build status updates of commit 51c9618: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
ExpectationsThanks for your submission! Here's a quick note to provide you with some context for what to expect from the docs team and the process now that you've submitted a PR. Even if you've contributed to this repo before, we strongly suggest reading this information; it might have changed since you last read it. To see our process for reviewing PRs, please read our editor's checklist and process for managing pull requests in particular. Below is a brief, high-level summary of what to expect, but our contributor guide has expanded details. The docs team begins to review your PR if you request them to or if your PR meets these conditions:
You can always request a review at any stage in your authoring process, the docs team is here to help! You do not need to submit a fully polished and finished draft; the docs team can help you get content ready for merge. While reviewing your PR, the docs team may make suggestions, write comments, and ask questions. When all requirements are satisfied, the docs team marks your PR as Approved and merges it. Once your PR is merged, it is included the next time the documentation is published. For this project, the documentation is published daily at 3 p.m. Pacific Standard Time (PST). |
Edit for style
|
Learn Build status updates of commit 46393f9: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Relates to challenges faced getting started with registering package repositories using authentication, as detailed here: PowerShell/PSResourceGet#1822
PR Summary
Hopefully provides a little extra clarity for example 4. From my reading here it wasn't clear anywhere that the secret must be stored as a PSCredential object, and so I expected Find-PSResource to use the name of the secret and the value of the secret as username/password. This wasn't the case.
PR Checklist