From 1d4602b0a43f6794a7bba549623600382f833d6a Mon Sep 17 00:00:00 2001 From: Yionse Date: Fri, 7 Feb 2025 17:41:21 +0800 Subject: [PATCH] test --- .../samples/file_samples_authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/storage/azure-storage-file-share/samples/file_samples_authentication.py b/sdk/storage/azure-storage-file-share/samples/file_samples_authentication.py index d5172e7e073c..a4eeb424e463 100644 --- a/sdk/storage/azure-storage-file-share/samples/file_samples_authentication.py +++ b/sdk/storage/azure-storage-file-share/samples/file_samples_authentication.py @@ -122,7 +122,7 @@ def authentication_default_azure_credential(self): from azure.storage.fileshare import ShareServiceClient share_service_client = ShareServiceClient( account_url=self.account_url, - credential=self.access_key, + credential=default_credential, # When using a token credential, you MUST also specify a token_intent token_intent='backup' )