【问题标题】:Is it possible to convert Azure blob storage content accesed via SAS linkIs it possible to convert Azure blob storage content accesed via SAS link
【发布时间】:2022-12-28 00:54:53
【问题描述】:

We have files stored in Azure storage blob. When a client needs access to them, they request it via our back end and we provide them with a SAS link to it.

Recently we have got a client to our API which can only consume Base64 encoded content. We can extend the API to return Base64 encoded files, and we did it as a temporary work around. However, it requires to read the whole content and proxy it via the API.

We can write an Azure http-triggered function to encode - which will not be that different from extending the API. Another option would be saving Base64 encoded copies of documents.

Is it possible the Azure Storage has an embedded way to return the content encoded into base64? If not, what would be the best approach to convert? The criteria is infrastructure payments. The load is almost entirely read with occasional inserts.

【问题讨论】:

    标签: azure sas azure-blob-storage


    【解决方案1】:

    Azure Storage doesn't provide a way to transform data on its own. Your approach of using a proxy that performs the transformation would be the way to go.

    【讨论】:

      猜你喜欢
      • 2022-12-28
      • 2022-12-01
      • 2022-12-02
      • 2022-12-02
      • 2022-12-02
      • 2022-12-27
      • 2022-12-19
      • 2022-12-02
      • 2022-12-02
      相关资源
      最近更新 更多