azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

[ARM] `azure bicep`: Use `AZURE_CLI_DISABLE_CONNECTION_VERIFICATION` when checking Bicep CLI versions

Open shenglol opened this issue 3 years ago • 1 comments

Related command

az bicep

Description The az bicep commands check for the latest version of Bicep by sending an HTTP request, but when it doesn't respect AZURE_CLI_DISABLE_CONNECTION_VERIFICATION and always validate SSL certificates. The PR updates the code to check if SSL certificate verification should be skipped.

Testing Guide Running any az bicep commands with AZURE_CLI_DISABLE_CONNECTION_VERIFICATION set to true.


This checklist is used to make sure that common guidelines for a pull request are followed.

shenglol avatar Aug 12 '22 20:08 shenglol

ARM

yonzhan avatar Aug 12 '22 22:08 yonzhan