From 5caa805f5b729e66414546253795b39ca9c14f32 Mon Sep 17 00:00:00 2001 From: saienduri Date: Fri, 8 Mar 2024 03:38:42 -0800 Subject: [PATCH] change to env var --- e2eshark/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2eshark/run.py b/e2eshark/run.py index 1c2825a48..8311497ea 100755 --- a/e2eshark/run.py +++ b/e2eshark/run.py @@ -84,7 +84,7 @@ def loadE2eSharkCheckDictionary(): return e2esharkDict def uploadToBlobStorage(file_path, file_name, testName, uploadDict): - connection_string = "DefaultEndpointsProtocol=https;AccountName=e2esharkuserartifacts;AccountKey=/Bm7PcsKeZOqN5S03R6xJIBgvFMQK06ZddzLMzsFbX+bQ0+RuNseJiaZQVfLpT2V0B61ce+1BUm2+AStFsSVBA==;EndpointSuffix=core.windows.net" + connection_string = os.getenv("AZURE_CONNECTION_STRING") container_name = "e2esharkuserartifacts" blob_service_client = BlobServiceClient.from_connection_string(connection_string)