Azure – The new version – 11.4.0 – of Azure PowerShell helps protecting against secrets leaking (preview)

If you use Azure PowerShell  module to manage your Azure environment, it is recommended to update to the latest available version 11.4.0 to take advantage of a new sensitive information – such as secret – leak protection.

This new “protect secrets” feature helps protecting against sensitive information being displayed in the output of the command.

A warning message is displayed by default when such information is detected. You have nothing to do except ensuring you are using the 11.4 (or later) version.

If you wish not to display such warning you can disable the feature using the below command – off course you can re enable by switching $false to $true

Update-AzConfig -DisplaySecretsWarning $false

Leave a Comment

Your email address will not be published. Required fields are marked *

The reCAPTCHA verification period has expired. Please reload the page.