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

chore: disable local auth for azure openai #199

Merged
merged 1 commit into from
Aug 23, 2024

chore: disable local auth for azure openai

065af86
Select commit
Loading
Failed to load commit list.
Merged

chore: disable local auth for azure openai #199

chore: disable local auth for azure openai
065af86
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / templateanalyzer succeeded Apr 23, 2024 in 4s

No new alerts in code changed by this pull request

Annotations

Check failure on line 34 in infra/core/ai/cognitiveservices.bicep

See this annotation in the file changed.

Code scanning / templateanalyzer

Use identity-based authentication for Cognitive Services accounts. Error

To send requests to Cognitive Services endpoints, each request must include an authentication header. Cognitive Services endpoints supports authentication with keys or tokens. Using an Azure AD token instead of a cryptographic key has some additional security benefits.
With Azure AD authentication, the identity is validated against Azure AD identity provider. Using Azure AD identities centralizes identity management and auditing.
Once you decide to use Azure AD authentication, you can disable authentication using keys.