dlmelendez / identityazuretable

This project provides a high performance cloud solution for ASP.NET Identity Core using Azure Table storage replacing the Entity Framework / MSSQL provider.
MIT License
104 stars 27 forks source link

Allow TokenCredentials to be passed in Config #103

Open MatthewSteeples opened 1 year ago

MatthewSteeples commented 1 year ago

This change will allow a TokenCredential to be passed in to the configuration of the table client. This will allow Managed Identities to be used instead of Shared Access Keys.

Please note that currently this change will only work on "public" Azure Clouds (where the subdomain of the table service is table.core.windows.net)

Happy to make changes to this as required

MatthewSteeples commented 1 year ago

Pushed a change today for this that updates the version of Azure Data Tables in use. This is so that the Uri property can be read (which gives a more reliable option than rebuilding the Uri ourselves)

MatthewSteeples commented 1 year ago

OK, better late than never, I think this is ready to go now

MatthewSteeples commented 1 year ago

We've also tested cherry-picking this branch on to 6.2 (as that's the version that we're on) if you wouldn't mind backporting it. Happy to open up a separate pull request for that