forked from Badgerati/Pode
-
Notifications
You must be signed in to change notification settings - Fork 0
Protect PodeLogItem
mdaneri edited this page Mar 10, 2025
·
1 revision
Masks values within a log item to protect sensitive information.
Protect-PodeLogItem [[-Item] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Masks values within a log item, or any string, to protect sensitive information. Patterns, and the Mask, can be configured via the server.psd1 configuration file.
$value = Protect-PodeLogItem -Item 'Username=Morty, Password=Hunter2'
The string Item to mask values.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
sss
x