Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
6.04k stars 4.14k forks source link

Computer Vision key versus managed identity #1076

Closed diberry closed 7 months ago

diberry commented 10 months ago

It looks like from the /infra that Computer Vision uses a key whereas the rest of the Azure services use managed identity/service principals/roles.

Is it possible to change away from key for this service to use MI/SP/RBAC roles?

pamelafox commented 10 months ago

Good question! I am attempting it in this PR: https://github.com/Azure-Samples/azure-search-openai-demo/pull/1062 It works locally but not with the managed identity on App Service. I am awaiting further advice from vision team (in a teams thread).

pamelafox commented 7 months ago

Fixed! We use MI now.