Skip to content

Commit 51c9618

Browse files
authored
Update Register-PSResourceRepository.md - Adhere to contrib guide
Improve contrib guide adherance
1 parent 786fee8 commit 51c9618

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,12 @@ PSGv3 https://www.powershellgallery.com/api/v3 True 50
115115
### Example 4
116116

117117
This example registers a repository with credential information to be retrieved from a registered
118-
**SecretManagement** vault, where `SecretStore` is the name of the vault and `TestSecret` is the name of the stored secret.
118+
**SecretManagement** vault, where **SecretStore** is the name of the vault and **TestSecret** is the name of the stored secret.
119+
119120
You must have the **Microsoft.PowerShell.SecretManagement** module installed, have a registered vault, and stored a secret within it.
120121
If setup correctly, the command `Get-SecretInfo -Name 'TestSecret'` would return the secret.
121-
Note: The format of the secret must match the requirements of the repository. In some instances, `TestSecret` might need storing as a PSCredential object with a username and password/token. In others it may need storing as a SecureString representing just the token.
122+
123+
Note: The format of the secret must match the requirements of the repository. In some instances, `TestSecret` might need storing as a **PSCredential** object with a username and password/token. In others it may need storing as a **SecureString** representing just the token.
122124

123125
```powershell
124126
$parameters = @{

0 commit comments

Comments
 (0)