Ensure that local, key-based authentication is disabled for your Azure AI Foundry instances. This security best practice enforces the use of Microsoft Entra ID authentication, enhancing access security.
Using access keys for authentication can create significant security vulnerabilities because of the potential leakage of secrets to source control systems and their exposure to the public. To achieve optimal security, it is recommended to disable key-based authentication for your Azure AI Foundry instances, enforcing your applications to use Microsoft Entra ID authentication instead. This method provides superior security and ease of use compared to shared access key authentication and allows secure connections via a user, service principal, or managed identity.
Audit
To determine if your Azure AI Foundry instances are using local authentication methods such as access keys, perform the following operations:
Getting the authentication configuration for AI Foundry instances using Microsoft Azure Portal is not currently supported.Remediation / Resolution
To disable local authentication for your Azure AI Foundry instances so that clients or applications are required to use Microsoft Entra ID for authentication, perform the following operations:
Disabling local authentication methods for AI Foundry instances using Microsoft Azure Portal is not currently supported.References
- Azure Official Documentation
- Security for Azure AI services
- Disable local authentication in Azure AI Services
- Azure Command Line Interface (CLI) Documentation
- az account list
- az account set
- az cognitiveservices account list
- az rest