Microsoft Entra’s secrets scanning automatically detects credentials, API keys, and sensitive tokens committed to your source repositories. It is built to find real security risks before they reach deployment. By scanning codebases for secrets, it shuts down one of the most common attack vectors — hardcoded credentials.
The system works directly with your development workflow. When code is pushed, it scans instantly. If secrets are found, it flags them, sends alerts, and blocks merges when policy demands it. Developers get the exact location of the secret, the type detected, and guidance for removal or rotation.
Secrets-In-Code Scanning integrates with Microsoft Entra’s identity and access management stack, ensuring detection is tied to enforceable policy. You can define which repositories to scan, set severity levels, and track findings over time. It supports major version control services, from GitHub to Azure DevOps.