diff --git a/cloud/azure/bin/lib/key_vault.sh b/cloud/azure/bin/lib/key_vault.sh index d5f636cd..db09c2c7 100644 --- a/cloud/azure/bin/lib/key_vault.sh +++ b/cloud/azure/bin/lib/key_vault.sh @@ -125,4 +125,5 @@ function key_vault::has_secret() { -o tsv 2>&1 >/dev/null)" echo "${SECRET_RESULT}" | grep "SecretNotFound" + [[ "$?" -ne 0 ]] }