I'm struggling to write back to an Azure Blob Storage Container. I'm able to read from a container using the following:
storage_account_name = "expstorage"
storage_account_key = "1VP89J..."
container = "source"
spark.conf.set("fs.azure.account.key.{0}.blob.core.windows.net".format(storage_account_name), storage_account_key)
dbutils.fs.ls("dbfs:/mnt/azurestorage")
I've tried multiple methods to write back to my container just doing a search, but I can't find a definitive way.
Here is a link to an alternative that uses a SAS key, but I didn't want to mix/match key types.
{0}
in your conf name ? – Dvandva