-
Notifications
You must be signed in to change notification settings - Fork 550
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
feature: support azure MangedIdentity TokenCredential #590
base: main
Are you sure you want to change the base?
feature: support azure MangedIdentity TokenCredential #590
Conversation
libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs
Show resolved
Hide resolved
How does this feature work exactly? Is it compatible with the older connection strings? And how does it interface with unit tests? |
Assuming the garnet application will run inside of azure (ex: vm / aks) and managed identity will be able to be assigned to the environment
I think this us instead of using a connection string, so any Metadata provided in the connection string will need to be provided in a different way
We might consider using Currently the unit tests don't use the managed identity credential to perform the login |
Somthing that might be concerning, I noticed that the constructor of running locally with
called the constructor 5 times, this causes the time until the service prints created #739 |
apart from this delay issue, is this PR ready yet? |
Adding unit tests for managed identity is tricky as they would need to run inside azure (not locally) Other than that and the conflicts this us ready |
OK. @Meir017, if you could rebase to the latest in main, I think we can go ahead with reviewing and merging this. thank you. |
Could you try #970 to see if the startup delay is fixed by this refactor? |
closes #558
Tests: