question

PriyaJha-3992 avatar image
0 Votes"
PriyaJha-3992 asked ·

Azure function Managed Identity properties

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
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered ·

@PriyaJha-3992 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.


· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.