Azure Object Storage - Managed Identity for Authentication

Has anyone managed to get the Azure Objects Storage working with either a System Managed Identity or a User Managed Identity?

I’m planning a deployment of Orthanc on Azure, primarily as an archive for a longitudinal study, and I would like to use Azure Blob Storage for Orthanc Object Storage.

The Azure option of Orthanc’s Object Storage Plugin requires the use of an Access Key for the Blob Storage, but, as I’ll be hosting the Orthanc process in Azure, I’d prefer to use a System or User Managed Identity.

Is there already guidance on getting the authentication working this way, or is anyone in a position to produce guidance?

Thanks

David

Hi David,

No, right now, the plugin only works with a ConnectionString and it seems this is incompatible with managed identities.

If you need that feature and agree to fund its development, you may get in touch with https://orthanc.team/

Best regards,

Alain.

Thanks Alain

I’ll see how far I can get with AzureFiles and volume mounts.

Out of interest, would you accept a PR with this feature?

Very likely (note: you’ll have to propose a patch file).

Note that I currently don’t have an Azure account and I’m not familiar with the managed identities - that is my main problem ! But, if you propose a change in the code, I can rebuild a Docker image and then, you can validate it on Azure infra, it is fine with me, it keeps the workload very low on my side :wink: !