--- title: Keeping secrets secure with secret scanning shortTitle: Secret scanning allowTitleToDifferFromFilename: true intro: 'Let {% data variables.product.company_short %} do the hard work of ensuring that tokens, private keys, and other code secrets are not exposed in your repository.' product: '{% data reusables.gated-features.secret-scanning %}' redirect_from: - /code-security/secret-security versions: fpt: '*' ghes: '*' ghae: '*' ghec: '*' topics: - Secret scanning - Advanced Security - Repositories children: - /about-secret-scanning - /secret-scanning-partner-program - /configuring-secret-scanning-for-your-repositories - /defining-custom-patterns-for-secret-scanning - /about-the-regular-expression-generator-for-custom-patterns - /generating-regular-expressions-for-custom-patterns-with-ai - /managing-alerts-from-secret-scanning - /secret-scanning-patterns - /about-the-detection-of-generic-secrets-with-secret-scanning - /enabling-ai-powered-generic-secret-detection - /push-protection-for-repositories-and-organizations - /push-protection-for-users - /pushing-a-branch-blocked-by-push-protection - /troubleshooting-secret-scanning ---