Skip to main content

Concepts for secret security

Learn core concepts for GitHub's secret security features.

About secret scanning

GitHub scans repositories for known types of secrets, to prevent fraudulent use of secrets that were committed accidentally.

About push protection

Push protection blocks contributors from pushing secrets to a repository and generates an alert whenever a contributor bypasses the block. You can apply push protection at repository or organization level.

About secret scanning alerts

Learn about the different types of 机密扫描警报.

About delegated bypass for push protection

You can control which teams or roles have the ability to bypass push protection in your organization or repository.

Working with push protection from the REST API

Learn your options for unblocking your push to GitHub using the REST API if secret scanning detects a secret in the content of your API request.