You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note the param something is decorated by secure().
Then open the script file in VS Code and show the Deployment Pane. Put "abc" for the param "something" and click the "Validate" action button, then the following error is returned
{
"code": "InvalidTemplate",
"message": "Deployment template validation failed: 'The value for the template parameter 'something' at line '1' and column '278' is not provided. Please see https://aka.ms/arm-create-parameter-file for usage details.'.",
"additionalInfo": [
{
"type": "TemplateViolation",
"info": {
"lineNumber": 1,
"linePosition": 278,
"path": "properties.template.parameters.something"
}
}
]
}
Here's screenshot:
Note that if I remove the secure decoration, then the validation can pass. But that's not what I want.
Besides, the secure input is not well-supported in the Deployment Pane: the input is not masked but showed clearly as plain text.
The text was updated successfully, but these errors were encountered:
My bicep script is like the following.
Note the param
something
is decorated bysecure()
.Then open the script file in VS Code and show the Deployment Pane. Put "abc" for the param "something" and click the "Validate" action button, then the following error is returned
Here's screenshot:
Note that if I remove the
secure
decoration, then the validation can pass. But that's not what I want.Besides, the
secure
input is not well-supported in the Deployment Pane: the input is not masked but showed clearly as plain text.The text was updated successfully, but these errors were encountered: