Azure – How do I authenticate a bash script running azcli commands
I have a bash script vault.sh az login Source_Kv_Name="myKeyVault2020" SECRETS+=($(az keyvault secret list --vault-name $Source_Kv_Name --query "[].id" -o tsv)) If I run it as bash vault.sh it fails to connect to vault (authenticate) If I run the same commands from…