Azure-Samples / apim-genai-gateway-toolkit

A repo to accelerate development and testing of GenAI Gateways built with Azure API Management. Includes various capabilities as examples/starters.
MIT License
39 stars 14 forks source link

Override subscription key header name to enable easier SDK integration #36

Closed lucashuet93 closed 6 days ago

lucashuet93 commented 4 months ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Expected/desired behavior

APIM subscription key should be sent in api-key header rather than ocp-apim-subscription-key to enable easier integration with SDKs

Mention any other details that might be useful

APIM automatically overrides this for you when adding the AOAI API manually in the portal

image

stuartleeks commented 6 days ago

Closed by #76, #77