From 2d21afdad06436a0486928c7f3fea2702aa9cbd3 Mon Sep 17 00:00:00 2001 From: Sam Ansmink Date: Mon, 2 Sep 2024 17:00:04 +0200 Subject: [PATCH] revert accidentally commited change --- test/sql/cloud/hierarchical_namespace.test | 37 ++++++++-------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/test/sql/cloud/hierarchical_namespace.test b/test/sql/cloud/hierarchical_namespace.test index f9e59a3..8e72955 100644 --- a/test/sql/cloud/hierarchical_namespace.test +++ b/test/sql/cloud/hierarchical_namespace.test @@ -5,35 +5,26 @@ # Require statement will ensure this test is run with this extension loaded require azure -#require-env AZURE_TENANT_ID -# -#require-env AZURE_CLIENT_ID -# -#require-env AZURE_CLIENT_SECRET -# +require-env AZURE_TENANT_ID + +require-env AZURE_CLIENT_ID + +require-env AZURE_CLIENT_SECRET + require-env AZURE_STORAGE_ACCOUNT -# -#statement ok -#set allow_persistent_secrets=false -# -#statement ok -#CREATE SECRET spn ( -# TYPE AZURE, -# PROVIDER SERVICE_PRINCIPAL, -# TENANT_ID '${AZURE_TENANT_ID}', -# CLIENT_ID '${AZURE_CLIENT_ID}', -# CLIENT_SECRET '${AZURE_CLIENT_SECRET}', -# ACCOUNT_NAME '${AZURE_STORAGE_ACCOUNT}' -#); +statement ok +set allow_persistent_secrets=false statement ok -CREATE SECRET az1 ( +CREATE SECRET spn ( TYPE AZURE, - PROVIDER CREDENTIAL_CHAIN, - CHAIN 'cli', + PROVIDER SERVICE_PRINCIPAL, + TENANT_ID '${AZURE_TENANT_ID}', + CLIENT_ID '${AZURE_CLIENT_ID}', + CLIENT_SECRET '${AZURE_CLIENT_SECRET}', ACCOUNT_NAME '${AZURE_STORAGE_ACCOUNT}' -) +); # Check that with Azure ADLS GEN2 directories are not show in globs query I