windows-powershell-docs icon indicating copy to clipboard operation
windows-powershell-docs copied to clipboard

Add missing -ProtectPrivateKey parameter to Import-PfxCertificate documentation

Open Synertry opened this issue 7 months ago • 2 comments

PR Summary

Add missing -ProtectPrivateKey parameter to the Import-PfxCertificate cmdlet documentation. Parameter functionality is synonymous with the import option "Protect private key using virtualized-based security(Non-exportable)" in the Certificate Import Wizard: image

Functionality of the option is explained by Crypt32 (Vadims Podans), creator of PSPKI: https://security.stackexchange.com/a/186523/268642

Explanation for enum option vsm is hinted in the documentation for Virtualization-based Security (VBS).

Virtual Secure Mode (VSM) capabilities were introduced in Windows 10 and Windows Server 2016, that is why the update only ranges until there.

  • Resolves #3263

PR Checklist

  • [x] Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • [x] Summary: This PR's summary describes the scope and intent of the change.
  • [x] Contributor's Guide: I have read the contributors guide.
  • [x] Style: This PR adheres to the style guide.

Synertry avatar Apr 20 '25 03:04 Synertry

@microsoft-github-policy-service agree

Synertry avatar Apr 20 '25 03:04 Synertry

Learn Build status updates of commit e06c290:

:white_check_mark: Validation status: passed

File Status Preview URL Details
docset/winserver2016-ps/pki/Import-PfxCertificate.md :white_check_mark:Succeeded View (WindowsServer2016-ps)
docset/winserver2019-ps/pki/Import-PfxCertificate.md :white_check_mark:Succeeded View (WindowsServer2019-ps)
docset/winserver2022-ps/pki/Import-PfxCertificate.md :white_check_mark:Succeeded View (WindowsServer2022-ps)
docset/winserver2025-ps/pki/Import-PfxCertificate.md :white_check_mark:Succeeded View (WindowsServer2025-ps)

For more details, please refer to the build report.

For any questions, please: