tus / tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads
https://tus.github.io/tusd
MIT License
2.92k stars 465 forks source link

Support for managed identity for Azure blob storage #1134

Open vikas-rajvanshy opened 1 month ago

vikas-rajvanshy commented 1 month ago

Is your feature request related to a problem? Please describe. The Azure Blob implementation requires a shared key for access to the blob resources, it is more secure to support managed identities so that shared key management is removed.

Describe the solution you'd like Option to leverage credentials if present via azidentity.NewDefaultAzureCredential(nil)

Describe alternatives you've considered Could create a shared key, but trying to avoid this as it is not best practice

Can you provide help with implementing this feature? Yes

Additional context Add any other context or screenshots about the feature request here.

Acconut commented 1 month ago

Thank you for bringing this up. I don't use Azure and thus are not familiar with their authentication schemes, but offering alternatives to pre shared keys makes sense. Would you be willing to open a pull request for this?