Explore by product
Code security
Get startedGitHub.comGitHub EnterpriseBilling and paymentsOrganizationsCode securityGitHub ActionsGitHub PackagesDevelopersREST APIGraphQL APIGitHub InsightsIssues and projectsGitHub DiscussionsGitHub CodespacesGitHub SponsorsBuilding communitiesGitHub PagesEducationGitHub DesktopGitHub CLIAtomElectronCodeQL
Article version: GitHub.com
Article version: GitHub.com
Keeping secrets secure
Let GitHub do the hard work of ensuring that tokens, private keys, and other code secrets are not exposed in your repository.
Secret scanning is available for all public repositories, and for private repositories owned by organizations where GitHub Advanced Security is enabled. For more information, see "About GitHub Advanced Security."
Help us make these docs great!
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contribution
