Remove "L2tpPsk" from the history #4077
Labels
Issue-Enhancement
It's a feature request.
Needs-Triage 🔍
It's a new issue that core contributor team needs to triage.
Prerequisites
Description of the new feature/enhancement
Cmdlets
Add-VpnConnection
,Set-VpnConnection
have a parameter-L2tpPsk
that contains a secret key shared between the server and the client. I suppose this is a sensitive information and its worth to filter out commands that have this parameter with a clear-text value.Proposed technical implementation details (optional)
Add "L2tpPsk" into the list https://github.com/PowerShell/PSReadLine/blob/master/PSReadLine/History.cs#L117
The text was updated successfully, but these errors were encountered: