Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ddowker committed Nov 29, 2023
1 parent 53b3c78 commit 18566aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broker/fragment/store_azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ func (a *azureBackend) azureClient(ep *url.URL) (cfg AzureStoreConfig, client pi
if err != nil {
return cfg, nil, err
}
a.sharedKeyCredentials = sharedKeyCred // Arize addition
serviceClient, err := service.NewClientWithSharedKeyCredential(cfg.serviceUrl(), sharedKeyCred, &service.ClientOptions{})
if err != nil {
return cfg, nil, err
Expand All @@ -295,7 +296,6 @@ func (a *azureBackend) azureClient(ep *url.URL) (cfg AzureStoreConfig, client pi
if err != nil {
return cfg, nil, err
}
a.sharedKeyCredentials = credentials
} else if ep.Scheme == "azure-ad" {
// Link to the Azure docs describing what fields are required for active directory auth
// https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication-service-principal?tabs=azure-cli#-option-1-authenticate-with-a-secret
Expand Down

0 comments on commit 18566aa

Please sign in to comment.