Support for private container files without downloading into local file storage

Created on 20 April 2022, over 2 years ago
Updated 3 November 2023, about 1 year ago

Problem/Motivation

Hi Team,
I have been using this module for sometime now and it is function as per the expectations in my project.

In our project, we are using private blob container and storage account is also set to private. As of now for reading the images from blob and showing up on the site, we are SAS tokens and we have created a patch for this module that will generate image url along with SAS token. This way we were able to read and show the images from the blob on to our website. It was fine upto some extent, but these days we were facing some performance issues with this approach and sometime, the SAS token is getting expired and images are getting blanked out.

Now, as per this issue ( https://www.drupal.org/project/az_blob_fs/issues/3266101 📌 Support private containers and try to serve locally from the server Needs review ) from the queue, I have created one more patch that will serve the files locally. This worked and also improved the performance, SAS token was also no longer needed.

But, we have very limited storage on our server and we will not be able save/download all the files into Drupal's site storage. With respect to our situation, can you please suggest us a workaround where we can directly read files from blob container without SAS token or downloading into the local instance.

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India bharath-kondeti Hyderabad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India mukhtarm

    Hi @bharath-kondeti do you have a patch this? It will be helpful if you provide.

    we are SAS tokens and we have created a patch for this module that will generate image url along with SAS token.

  • 🇮🇳India mukhtarm

    Here is the patch that works for me. BTW i am using D9.5 and az_blob_fs:2.x-dev@dev

Production build 0.71.5 2024