Risk Level: Medium (should be achieved)
Ensure that the API access keys created for your Azure AI Foundry instances are regularly regenerated (rotated) in order to meet security and compliance requirements. These keys are used to access Microsoft Azure AI Services API. By default, it is recommended to regenerate API access keys every 90 days.
The API access keys available for your Azure AI Foundry instances should be regenerated periodically to enhance security by minimizing the risk of unauthorized access if the keys are compromised. Regularly updating access keys helps protect sensitive data and maintain the integrity of the system.
Remediation / Resolution
To regenerate (rotate) the API access keys created for your Azure AI Foundry instances, perform the following operations:
References
- Azure Official Documentation
- Security for Azure AI services
- Rotate API keys
- Azure Command Line Interface (CLI) Documentation
- az account list
- az account set
- az cognitiveservices account list
- az cognitiveservices account keys list
- az cognitiveservices account keys regenerate
Publication date Sep 10, 2025