From f66e56846ed892ec492cffefb4981c7f48940f18 Mon Sep 17 00:00:00 2001 From: hocine hacherouf Date: Fri, 9 Sep 2022 18:46:54 +0200 Subject: [PATCH] Set pgsqlAdminPassword parameter as securestring (#1188) --- templates/azuredeploy.json | 2 +- templates/portalDeployWithLoRa.json | 2 +- templates/portalDeployWithoutLoRa.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/azuredeploy.json b/templates/azuredeploy.json index 6389f4c6c..c312c27fb 100644 --- a/templates/azuredeploy.json +++ b/templates/azuredeploy.json @@ -15,7 +15,7 @@ } }, "pgsqlAdminPassword": { - "type": "string", + "type": "securestring", "metadata": { "description": "PostgreSQL password" } diff --git a/templates/portalDeployWithLoRa.json b/templates/portalDeployWithLoRa.json index 93f1c5cd6..45cf5a8e9 100644 --- a/templates/portalDeployWithLoRa.json +++ b/templates/portalDeployWithLoRa.json @@ -22,7 +22,7 @@ } }, "pgsqlAdminPassword": { - "type": "string", + "type": "securestring", "defaultValue": "[concat(uniqueString(resourceGroup().id, newGuid()), 'x', '!')]", "metadata": { "description": "PostgreSQL password" diff --git a/templates/portalDeployWithoutLoRa.json b/templates/portalDeployWithoutLoRa.json index d3d4fc93c..9f991e71f 100644 --- a/templates/portalDeployWithoutLoRa.json +++ b/templates/portalDeployWithoutLoRa.json @@ -22,7 +22,7 @@ } }, "pgsqlAdminPassword": { - "type": "string", + "type": "securestring", "defaultValue": "[concat(uniqueString(resourceGroup().id, newGuid()), 'x', '!')]", "metadata": { "description": "PostgreSQL password"