KeyPassword Parameter (Protect-Data Cmdlet)
A password to generate the Key and InitializationVector .
Syntax
Protect-Data -KeyPassword string
Remarks
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
""