Closed ms-sambell closed 1 year ago
We determined that this isn't an issue.
The problem was that the code is doing the secret replacement on parameters that use a keyvault
reference. Which is all secure
parameter types. So initially I wasn't setting the secret parameter correct.
Description of the issue
When rendering a template that uses a secure parameter the PSRule engine should convert the secureString parameter into a placeholder value. This isn't happening right now, the value is being added in clear text.
To Reproduce
Steps to reproduce the issue:
Expected behavior
The variable should be set with a default value.
Module in use and version:
Captured output from
$PSVersionTable
: