dotnet / efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
https://docs.microsoft.com/ef/
MIT License
13.51k stars 3.13k forks source link

Cosmos: Allow database management operations using RBAC #33964

Open AndriySvyryd opened 1 month ago

AndriySvyryd commented 1 month ago

Cosmos SDK does not support these operations with RBAC. We'd need to use https://www.nuget.org/packages/Azure.ResourceManager.CosmosDB/ and allow to supply resource group, subscription id, account name and AzureLocation as additional options.

See https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac#permission-model

AndriySvyryd commented 1 week ago

We should postpone this work until this functionality is integrated into the Cosmos SDK