From badd5d104599049ab3532e2458995e16980ec1d6 Mon Sep 17 00:00:00 2001 From: Alejandro Pauly Date: Mon, 16 Dec 2019 12:05:35 -0500 Subject: [PATCH] Add secret variables to sensitive-variables array. --- images/linux/ubuntu1604.json | 1 + images/linux/ubuntu1804.json | 1 + images/win/Windows2016-Azure.json | 1 + 3 files changed, 3 insertions(+) diff --git a/images/linux/ubuntu1604.json b/images/linux/ubuntu1604.json index a1e9d27fa..ca7923a39 100644 --- a/images/linux/ubuntu1604.json +++ b/images/linux/ubuntu1604.json @@ -22,6 +22,7 @@ "capture_name_prefix": "packer", "image_version": "dev" }, + "sensitive-variables": ["client_secret"], "builders": [ { "type": "azure-arm", diff --git a/images/linux/ubuntu1804.json b/images/linux/ubuntu1804.json index 2c10a6822..fa5e66f0b 100644 --- a/images/linux/ubuntu1804.json +++ b/images/linux/ubuntu1804.json @@ -22,6 +22,7 @@ "capture_name_prefix": "packer", "image_version": "dev" }, + "sensitive-variables": ["client_secret"], "builders": [ { "type": "azure-arm", diff --git a/images/win/Windows2016-Azure.json b/images/win/Windows2016-Azure.json index c51dcdfe5..fe7131798 100644 --- a/images/win/Windows2016-Azure.json +++ b/images/win/Windows2016-Azure.json @@ -26,6 +26,7 @@ "capture_name_prefix": "packer", "image_version": "dev" }, + "sensitive-variables": ["install_password", "ssh_password", "client_secret"], "builders": [ { "name": "vhd",