Update-TssSdkClientRule
SYNOPSIS
Update an SDK client rule
SYNTAX
Update-TssSdkClientRule [-TssSession] <Session> -Id <Int32> [-Details <String>] [-Name <String>]
[-RequireOnboardingKey] [-UserId <Int32>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Update the name, IP address restriction (Details), user or onboarding key requirement of an SDK client rule. The current rule is read first, so parameters not given keep their value.
EXAMPLES
EXAMPLE 1
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Update-TssSdkClientRule -TssSession $session -Id 3 -RequireOnboardingKey:$false
Stops requiring an onboarding key on SDK client rule 3
PARAMETERS
-TssSession
TssSession object created by New-TssSession for authentication
Type: Session
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Id
SDK client rule ID
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Details
IP address range or CIDR that SDK clients must register from, for example 10.20.0.0/16. Empty allows any address
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
New name of the SDK client rule
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RequireOnboardingKey
Require an onboarding key to register against the rule
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-UserId
ID of the user SDK client accounts on this rule run as
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
Thycotic.PowerShell.SdkClientRules.SdkClientRule
NOTES
Requires TssSession object returned by New-TssSession