From e5f804fa42d2ee44fd27fe6ef2de9da078f3cecf Mon Sep 17 00:00:00 2001 From: Harmanpreet Kaur Date: Tue, 17 Dec 2024 13:54:17 +0530 Subject: [PATCH] expiry increased to 5 years --- .../batch/utilities/helpers/azure_blob_storage_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/backend/batch/utilities/helpers/azure_blob_storage_client.py b/code/backend/batch/utilities/helpers/azure_blob_storage_client.py index 6f76d1a24..fe53dfd23 100644 --- a/code/backend/batch/utilities/helpers/azure_blob_storage_client.py +++ b/code/backend/batch/utilities/helpers/azure_blob_storage_client.py @@ -247,7 +247,7 @@ def get_container_sas(self): user_delegation_key=self.user_delegation_key, account_key=self.account_key, permission="r", - expiry=datetime.utcnow() + timedelta(hours=1), + expiry=datetime.utcnow() + timedelta(days=365 * 5), ) def get_blob_sas(self, file_name):