objstore icon indicating copy to clipboard operation
objstore copied to clipboard

Azure config requires StorageAccountName even when its already in the connection string

Open andrewchambers opened this issue 2 years ago • 2 comments

andrewchambers avatar Nov 17 '23 20:11 andrewchambers

Hi @andrewchambers, I am interested in working on this issue, could you please provide more context?

ritaCanavarro avatar Dec 11 '23 12:12 ritaCanavarro

@ritaCanavarro Sure, I used an azure connection string to create an azure bucket, but the library said my config was invalid by giving an error saying I needed to specify a storage account name. The problem is the Azure connection string already did contain the storage account name, so I had to specify that via both the connection string and in the config yaml directly.

I think to test and reproduce this, you will need to create a Bucket object out of a config that contains an azure connection string that contains a storage account name while leaving the storage_account field blank in the yaml config.

andrewchambers avatar Dec 18 '23 07:12 andrewchambers