diff --git a/internal/keystore/azure/key-vault_test.go b/internal/keystore/azure/key-vault_test.go index 3949d1ce..33981f8a 100644 --- a/internal/keystore/azure/key-vault_test.go +++ b/internal/keystore/azure/key-vault_test.go @@ -7,10 +7,10 @@ import ( ) func TestConnectWithCredentials(t *testing.T) { - ClientID := "" - TenantID := "" - Secret := "" - EndPoint := "" + ClientID := os.Getenv("ClientID") + TenantID := os.Getenv("TenantID") + Secret := os.Getenv("Secret") + EndPoint := os.Getenv("EndPoint") if ClientID == "" || TenantID == "" || Secret == "" || EndPoint == "" { t.Skip("Skipping test due to missing credentials") } @@ -75,4 +75,5 @@ func TestConnectWithCredentials(t *testing.T) { } _ = c1 _ = c2 + _ = c3 }