Skip to content

Commit

Permalink
Set-TssSecretPolicy - correct Items param type
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Aug 26, 2021
1 parent 06f851b commit 15621d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/commands/secret-policies/Set-TssSecretPolicy.md
Expand Up @@ -14,7 +14,7 @@ Set-TssSecretPolicy [-TssSession] <Session> -Id <Int32> [-Name <String>] [-Descr
### item
```
Set-TssSecretPolicy [-TssSession] <Session> -Id <Int32> [-ItemName <SecretPolicyItem>]
[-ItemType <SecretPolicyType>] [-ItemApplyType <SecretPolicyApplyType>] [-ItemValue <Object>]
[-ItemType <SecretPolicyValueType>] [-ItemApplyType <SecretPolicyApplyType>] [-ItemValue <Object>]
[-UserGroupMap <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

Expand Down Expand Up @@ -136,7 +136,7 @@ Accept wildcard characters: False
Secret Policy Item Type

```yaml
Type: SecretPolicyType
Type: SecretPolicyValueType
Parameter Sets: item
Aliases:
Accepted values: Bool, Int, SecretId, Group, Schedule, SshMenuGroup, SshBlocklist
Expand Down
2 changes: 1 addition & 1 deletion src/functions/secret-policies/Set-TssSecretPolicy.ps1
Expand Up @@ -63,7 +63,7 @@ function Set-TssSecretPolicy {

# Secret Policy Item Type
[Parameter(ParameterSetName = 'item')]
[Thycotic.PowerShell.Enums.SecretPolicyType]
[Thycotic.PowerShell.Enums.SecretPolicyValueType]
$ItemType,

# Secret Policy Item Apply Type (NotSet, Default, Enforced)
Expand Down

0 comments on commit 15621d3

Please sign in to comment.