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

Using Cosmos Db with EfCore and Managed Identity #26573

Closed
dogabariscakmak opened this issue Nov 8, 2021 · 4 comments
Closed

Using Cosmos Db with EfCore and Managed Identity #26573

dogabariscakmak opened this issue Nov 8, 2021 · 4 comments

Comments

@dogabariscakmak
Copy link

Hello,
Since Cosmos: Resolve HttpClientFactory from DI if available is resolved, now using Cosmos Db provider for Ef Core with Managed Identity is technically possible.

However, the underlying flow could be complicated. Therefore it would be great if there is a tutorial/guide on how to use those.

@ajcvickers
Copy link
Member

@dogabariscakmak By "Managed Identity", do you mean ASP.NET Core Identity? If so, then that model is designed assuming relational databases, and we don't think it is a great fit for a document database.

@dogabariscakmak
Copy link
Author

What I meant Managed Identities for Azure resources. When using EfCore CosmosDb provider, it can be used with managed identity without connection string or secret.

@ajcvickers
Copy link
Member

@dogabariscakmak This? #26491

@dogabariscakmak
Copy link
Author

yes

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