Commit ccec3711 authored by Arnaud Jaen's avatar Arnaud Jaen
Browse files

Increase SAS token validity

parent c502b6e0
...@@ -42,7 +42,7 @@ class AzureBlobClient: ...@@ -42,7 +42,7 @@ class AzureBlobClient:
self.account_url = "https://{account_name}.blob.core.windows.net".format(account_name=self.storage_account) self.account_url = "https://{account_name}.blob.core.windows.net".format(account_name=self.storage_account)
self.sas_token = None self.sas_token = None
def _generate_sas_signature(self, validity_in_secs: int = 300) -> str: def _generate_sas_signature(self, validity_in_secs: int = 3000) -> str:
"""Generate an adapted SAS token """Generate an adapted SAS token
:param validity_in_secs: Validity for the token expressed in seconds, defaults to 30 :param validity_in_secs: Validity for the token expressed in seconds, defaults to 30
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment