microsoft / spring-data-cosmosdb

Access data with Azure Cosmos DB
MIT License
93 stars 68 forks source link

Can session tokens be used for access control instead of keys #459

Open mnolan98-tmk opened 4 years ago

mnolan98-tmk commented 4 years ago

I am attempting to limit the use of master/secondary keys in the application, or possibly even control tighter controls when using them. One way to do this is to use session tokens with the query requests. Is there a way to do this with Spring Data for Cosmos DB?

kushagraThapar commented 4 years ago

@mnolan98-tmk - Not yet, but soon we are going to provide AAD feature, which should allow you to have tighter controls.