Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8438

Allow not to create blob container in AzureDataStore

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.16.0
    • blob-cloud-azure
    • None

    Description

      When the SAS token is used for the AzureDataStore, it can be a container service SAS, which does allow to access the blobs, but doesn't allow to access the container itself. For instance, the CloudBlobContainer#exists() method throws a 403 error. This method is called by the createIfNotExists() in the AzureBlobStoreBackend#init method. As a result, the container SAS can't be used with the AzureBlobStore.

      Maybe we can create an extra config property, like azureCreateContainer, default true? If it's false, we can skip the createIfNotExists() invocation.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tomek.rekawek Tomek Rękawek
            tomek.rekawek Tomek Rękawek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment