KeyPassword Parameter (Protect-Data Cmdlet)

A password to generate the Key and InitializationVector .


Protect-Data -KeyPassword string


When this parameter is set the cmdlet will calculate values for Key and InitializationVector using the PKCS5 password digest algorithm. This provides a simpler alternative to creating and managing Key and InitializationVector values directly.

The size of the Key generated is dependent on the value of KeySize.

Default Value


Copyright (c) 2021 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 7877]