Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuker committed Jan 11, 2024
1 parent ab3d6ec commit 95f9061
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/keystore/azure/key-vault_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ import (
)

func TestConnectWithCredentials(t *testing.T) {
// endpoint
EndPoint := os.Getenv("EndPoint")
// default credential
ClientID := os.Getenv("ClientID")
TenantID := os.Getenv("TenantID")
Secret := os.Getenv("Secret")
EndPoint := os.Getenv("EndPoint")
// managed identity credential
ManagedIdentityClientID := os.Getenv("ManagedIdentityClientID")
if ClientID == "" || TenantID == "" || Secret == "" || EndPoint == "" {
t.Skip("Skipping test due to missing credentials")
Expand Down

0 comments on commit 95f9061

Please sign in to comment.