Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 22a8ea0

Browse files
committed
responding to review feedback
1 parent 6edeb83 commit 22a8ea0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ServiceLayer.Mesh/Messaging/ServiceCollectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ internal static IServiceCollection AddMessagingServices(this IServiceCollection
2424
}
2525

2626
var meshStorageAccountUrl = EnvironmentVariables.GetRequired("MeshStorageAccountUrl");
27-
return new QueueServiceClient(new Uri(meshStorageAccountUrl), new DefaultAzureCredential(), queueClientOptions);
27+
return new QueueServiceClient(new Uri(meshStorageAccountUrl), new ManagedIdentityCredential(), queueClientOptions);
2828
});
2929

3030
services.AddSingleton<IFileExtractQueueClient, FileExtractQueueClient>();

src/ServiceLayer.Mesh/Storage/ServiceCollectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ internal static IServiceCollection AddStorageServices(this IServiceCollection se
2020

2121
var meshStorageAccountUrl = EnvironmentVariables.GetRequired("MeshStorageAccountUrl");
2222

23-
var serviceClient = new BlobServiceClient(new Uri(meshStorageAccountUrl), new DefaultAzureCredential());
23+
var serviceClient = new BlobServiceClient(new Uri(meshStorageAccountUrl), new ManagedIdentityCredential());
2424
return serviceClient.GetBlobContainerClient(containerName);
2525
});
2626

0 commit comments

Comments
 (0)