Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Is it possible with AzureOpenAI to use
Is it possible with AzureOpenAI to use
Inactive
0
Follow
s
sour_doh!
11 months ago
ยท
Is it possible with AzureOpenAI to use managed identities instead of endpoint/key authentication?
Plain Text
Copy
from azure.identity import DefaultAzureCredential credential = DefaultAzureCredential()
a
2 comments
Share
Open in Discord
a
andrei
11 months ago
Hey, is this equivalent to using Azure AD?
a
andrei
11 months ago
If so, then you can use an ad token to authenticate instead of api key:
https://github.com/run-llama/llama_index/blob/ca8881d64551c476e1a7444c143e41bf3dc3bd22/llama_index/llms/azure_openai.py#L50
Add a reply
Sign up and join the conversation on Discord
Join on Discord