Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Azure Blob Storage integration to the new Azure.Storage.Blobs libraries #1716

Closed
sander1095 opened this issue Sep 14, 2021 · 1 comment

Comments

@sander1095
Copy link

Hello.

Piranha CMS currently has Azure Blob Storage integration using Microsoft.Azure.Storage.Blob. This is the old package for Azure Storage integration. New packages for better Azure interaction are available thanks to the new Azure SDK. For example, this is the new Azure Storage Blobs client library. https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/storage/Azure.Storage.Blobs.

A huge benefit of that new library is the ability to make it very easy to use Managed Identities instead of connectionstrings/SAS tokens to authenticate. I have found this resource with information on how to use Managed Identities with the current libraries, but I have doubts about token renewal and the inability to easily use async/await in ConfigureServices() to set this up correctly.

I would be willing to spend an evening or two on this issue to migrate the current libraries to the new one. I would then ask someone else to update the docs. Releasing this soon would be really nice for our project :)

What are your thoughts on this?

@sander1095
Copy link
Author

I just saw that there is an old PR for this: #1564. Perhaps this issue should be closed, but I am still interested in the state :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants