AzureAIClientProvider not working with API Key #11242
Closed
dehlers-cts
started this conversation in
General
Replies: 1 comment
-
Foundry does not support the use of API key to connect to a Foundry Project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The AzureAzureClientProvider works correctly if it is using a DefaultAzureCredentals. However, if I want to use an API Key instead, it returns http 401 Unauthorized.
I don't see anyway to use an api key. Is there a way to connect to the Azure AI Foundry Agent with an api key? It looks like the only way is with a credential. I am using an Azure Government SQL Server database and a Commercial Azure AI Foundry Agent. I can't use the same credentials. I could change the SQL Server to use a username and password but I should be able to use an API Key instead of the AzureDefaultCredentials.
Beta Was this translation helpful? Give feedback.
All reactions