Set PodeSecurityStrictTransportSecurity - mdaneri/Pode GitHub Wiki
external help file: Pode-help.xml Module Name: Pode online version: PodeType: Security schema: 2.0.0
Set a value for the Strict-Transport-Security header.
Set-PodeSecurityStrictTransportSecurity [[-Duration] <Int32>] [-IncludeSubDomains]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Set a value for the Strict-Transport-Security header.
Set-PodeSecurityStrictTransportSecurity -Duration 86400 -IncludeSubDomains
The Duration the browser to respect the header in seconds. (Default: 1 year)
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: 31536000
Accept pipeline input: False
Accept wildcard characters: FalseIf supplied, the header will have includeSubDomains.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
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: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.