Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python: support all auth options for azure ai search (#8495)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Azure AI Search data source supports 4 types of authentication but semantic kernel only supports `ApiKey`api key. This PR adds support to the other authentication options as defined in its [docs](https://learn.microsoft.com/en-us/azure/ai-services/openai/references/azure-search?tabs=python#parameters), which are - system_assigned_managed_identity - user_assigned_managed_identity - access_token <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
- Loading branch information