Ensure that functions managed with Azure Function App are using system-assigned managed identities in order to allow secure application access to other Microsoft Azure cloud resources such as SQL databases, storage accounts, and key vaults. Using system-assigned managed identities minimizes risks, simplifies management, and maintains compliance with evolving Azure cloud services.
excellence
A system-assigned managed identity enables functions managed with Azure Function App service to authenticate to other Azure cloud services without storing credentials in code. With system-assigned managed identities you don't have to secure, manage, and rotate access credentials anymore as these are handled automatically by Microsoft Azure. This offers the benefit of eliminating the need for secret management while also delivering enhanced precision in access control and auditing capabilities.
Audit
To determine if your Azure functions are configured to use system-assigned managed identities, perform the following actions:
Remediation / Resolution
To ensure that your functions managed with Microsoft Azure Function App are configured to use system-assigned managed identities, perform the following actions:
References
- Azure Official Documentation
- What are managed identities for Azure resources?
- How to use managed identities for App Service and Azure Functions
- Tutorial: Connect a function app to Azure SQL with managed identity and SQL bindings
- Azure Command Line Interface (CLI) Documentation
- az functionapp list
- az functionapp show
- az functionapp identity assign