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

Add support and tests for individual AOAI keys #33

Merged
merged 6 commits into from
Jun 4, 2024

Conversation

simonkurtz-MSFT
Copy link
Owner

@simonkurtz-MSFT simonkurtz-MSFT commented Jun 4, 2024

Fixes #32

@jjczopek, take a look at this PR, please. When I remove the identity and use real API keys for each of my backends, I can see successful requests. I also see failing requests for incorrect keys. Would love to know what your experience is, please.

@pamelafox, while I don't love adding individual API key support and much prefer managed identities instead, I realize the use case. I'm very interested in your thoughts.


The PR also externalizes test harness configuration into a new config.py.


Outstanding item is to update the Package Readme.

This is a non-breaking feature addition. The package version will move from 1.0.9 to 1.1.0.

@simonkurtz-MSFT simonkurtz-MSFT marked this pull request as ready for review June 4, 2024 16:12
@pamelafox
Copy link
Collaborator

@simonkurtz-MSFT I think it's fine for packages to support multiple forms of credentials. We avoid keys in our azd template samples since we provide the full infrastructure to create the RBAC roles, but I know devs sometimes use keys in other codebases.

@simonkurtz-MSFT simonkurtz-MSFT self-assigned this Jun 4, 2024
@simonkurtz-MSFT simonkurtz-MSFT added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 4, 2024
@simonkurtz-MSFT simonkurtz-MSFT merged commit 9fcd775 into main Jun 4, 2024
5 checks passed
@simonkurtz-MSFT simonkurtz-MSFT deleted the feature/support-api-keys branch June 4, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for authentication keys
2 participants