Describe the bug
Deployment Example 2 when deploying ResourceModules/modules/Microsoft.Sql/ has a get from key vault as shown below:
params: {
name: '<>-az-sqlsrv-x-001'
lock: 'CanNotDelete'
administratorLogin: kv1.getSecret('administratorLogin')
administratorLoginPassword: kv1.getSecret('administratorLoginPassword')
location: 'westeurope'
Using this template throws an error that the function can not be used because the administratorLogin is not designated as a secure string. Either the parameter should be updated as a secure string or the example updated to be a general parameter.
To reproduce
To reproduce the issue:
Create a deployment using Deployment Example 2
Code snippet
params: {
name: '<<namePrefix>>-az-sqlsrv-x-001'
lock: 'CanNotDelete'
administratorLogin: kv1.getSecret('administratorLogin')
administratorLoginPassword: kv1.getSecret('administratorLoginPassword')
location: 'westeurope'
Relevant log output
No response
Describe the bug
Deployment Example 2 when deploying ResourceModules/modules/Microsoft.Sql/ has a get from key vault as shown below:
params: {
name: '<>-az-sqlsrv-x-001'
lock: 'CanNotDelete'
administratorLogin: kv1.getSecret('administratorLogin')
administratorLoginPassword: kv1.getSecret('administratorLoginPassword')
location: 'westeurope'
Using this template throws an error that the function can not be used because the administratorLogin is not designated as a secure string. Either the parameter should be updated as a secure string or the example updated to be a general parameter.
To reproduce
To reproduce the issue:
Create a deployment using Deployment Example 2
Code snippet
Relevant log output
No response