Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.