Skip to content

Commit

Permalink
Set-TssSecret - Folder param update to FolerId
Browse files Browse the repository at this point in the history
Added Folder as alias
  • Loading branch information
wsmelton committed Mar 2, 2021
1 parent 6f47e67 commit a1b56dc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/functions/secrets/Set-Secret.ps1
Expand Up @@ -18,6 +18,12 @@ function Set-Secret {
Sets secret 1455's field, "Notes", to the provided value providing required comment
.EXAMPLE
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Set-TssSecret -TssSession $session -Id 345 -FolderId 3
Move Secret 345 to folder ID 3
.EXAMPLE
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Set-TssSecret -TssSession $session -Id 113 -Field Notes -Clear
Expand Down Expand Up @@ -158,8 +164,9 @@ function Set-Secret {
# Folder (ID)
[Parameter(ParameterSetName = 'all')]
[Parameter(ParameterSetName = 'general')]
[Alias('Folder')]
[int]
$Folder,
$FolderId,

# Generate new SSH Keys
[Parameter(ParameterSetName = 'all')]
Expand Down

0 comments on commit a1b56dc

Please sign in to comment.