From e82eae296f7c73c1226953cd6080b99237753644 Mon Sep 17 00:00:00 2001 From: Robert Lippens Date: Sun, 17 Mar 2019 22:51:59 -0700 Subject: [PATCH] certificate contents and password as sensitive --- azurerm/resource_arm_key_vault_certificate.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/azurerm/resource_arm_key_vault_certificate.go b/azurerm/resource_arm_key_vault_certificate.go index 10f73b1f9ac2..ed23afb722ea 100644 --- a/azurerm/resource_arm_key_vault_certificate.go +++ b/azurerm/resource_arm_key_vault_certificate.go @@ -89,14 +89,16 @@ func resourceArmKeyVaultCertificate() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "contents": { - Type: schema.TypeString, - Required: true, - ForceNew: true, + Type: schema.TypeString, + Required: true, + ForceNew: true, + Sensitive: true, }, "password": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, + Type: schema.TypeString, + Optional: true, + ForceNew: true, + Sensitive: true, }, }, },