Azure function Managed Identity properties

Priya Jha 866 Reputation points
2021-02-23T09:21:30.26+00:00

We have a Linux Python core Azure function with a system assigned managed identity.
We want to read files from an Azure blob storage via Azure function and do some file validations.
Is it possible to access the file from blob storage without the need of any Access key or SAS of blob storage with the concept of managed identity

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,264 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,591 Reputation points Microsoft Employee
    2021-02-24T03:21:18.887+00:00

    @Priya Jha While Managed Identity can't be leveraged with the Storage I/O Bindings directly, you could always leverage the Storage SDK directly which can leverage Azure Identity for Python as shown in this sample.

    Another option to leverage the bindings without having to manage the access keys directly would be to manage the keys using KeyVault and reference them in your App Settings via KeyVault References.

    This would be a good interim option until bindings do support managed identity without having to deal with the SDK directly.

    0 comments No comments