I suggest you setup the connection string as an environment variable. After, you could use this environment variable from your script.
Python | Azure Batch
Abhay Chandramouli
966
Reputation points
Hi
I am trying to run python scripts inside azure batch accounts.
I have provided managed identitiy access to batch accounts with permissions to storage
in my python scripts, I am accessing azure storage account to list blobs in a container
Can I do this inside my python scripts without the connection string and using only managed identity ?
2 answers
Sort by: Most helpful
-
-
Abhay Chandramouli 966 Reputation points
2023-02-09T09:47:01.2366667+00:00 DefaultAzureCredential()