Skip to content

Commit

Permalink
module - rename folder for doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Jun 20, 2021
1 parent 5475c8f commit cbb4aa7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
Expand Up @@ -8,9 +8,9 @@ function Get-SecretDependencyStub {
.EXAMPLE
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Get-TssSecretDependencyStub -TssSession $session -SecretId 42
Get-TssSecretDependencyStub -TssSession $session -SecretId 42 -TemplateId 6
Return Secret Dependency template for Secret 42,
Return Secret Dependency Stub for Secret 42 and Template ID 6
.LINK
https://thycotic-ps.github.io/thycotic.secretserver/commands/Get-TssSecretDependencyStub
Expand Down
7 changes: 7 additions & 0 deletions src/functions/secret-dependencies/New-SecretDependency.ps1
Expand Up @@ -6,6 +6,13 @@ function New-SecretDependency {
.DESCRIPTION
Create a new Secret Dependency
.EXAMPLE
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
$dependentStub = Get-TssSecretDependencyStub -TssSession $session -SecretId 42 -TemplateId 4
New-TssSecretDependency -TssSession $session -DependencyStub $dependentStub
Create new dependency on Secret 42
.LINK
https://thycotic-ps.github.io/thycotic.secretserver/commands/New-TssSecretDependency
Expand Down
6 changes: 6 additions & 0 deletions src/functions/secret-permissions/New-SecretPermission.ps1
Expand Up @@ -6,6 +6,12 @@ function New-SecretPermission {
.DESCRIPTION
Create a new Secret Permission
.EXAMPLE
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
New-TssSecretPermission -TssSession $session -SecretId 76 -AccessRole View -UserId 98
Adding permission for User ID 98 to Secret 76, granting View rights to the Secret.
.LINK
https://thycotic-ps.github.io/thycotic.secretserver/commands/New-TssSecretPermission
Expand Down

0 comments on commit cbb4aa7

Please sign in to comment.