What should be an ideal expiry time for SAS. The SAS url is to be used to copy blobs from one container to another (different storage account also possible). The copy command is called immediately after generating SAS, so is the expiry time just needed for the start of blob copy or should it be valid until the copy blob is completed?
sas_signature = source_blob_object.generate_container_shared_access_signature(source_container, ContainerPermissions.READ, expiry = datetime.utcnow() + timedelta(hours = 1))
blob_url = source_blob_object.make_blob_url(source_container, blob_name, sas_token = sas_signature)
response = dest_blob_object.copy_blob(dest_container, blob_name, blob_url,
standard_blob_tier = dest_access_tier, rehydrate_priority = rehyd_priority)