I need to connect Azure Blob Storage using Matillion Python Component to access some data files.
Currently, I am connecting using the azure connection string as shown in below code snippet but providing connection inside script is not a good practice.
>>> from azure.storage.blob import BlobClient, BlobServiceClient
>>> connection_string = "DefaultEndpointsProtocol=https;AccountName=<my-account>;AccountKey=<my-key>;EndpointSuffix=core.windows.net"
>>> blob_service_client = BlobServiceClient.from_connection_string(connection_string)
>>> blob_client = blob_service_client.get_blob_client(container="<my-container>", blob="<my-blob>")
>>> blob = blob_client.download_blob().content_as_bytes()
>>> -----further operation once file data is captured-----
Do we have any alternate way to connect Azure blob inside python component... may be using the predefined environment variables like we use for SQL query component. Any leads will be helpful..
Thanks in advance!