Secret scanning
Secret scanning is the automated detection of exposed credentials, tokens, keys, and other sensitive authentication or authorization information in source code and related artifacts.
AI Governance
Secret scanning is the automated detection of credentials, keys, and other sensitive authentication material in source code and related artifacts.
- How it is used
- Protects GenAI deployments by detecting exposed credentials across code, AI data stores, uploads, and outputs.
- How deep it goes
- Extends scanning to GenAI data paths and CI, and discusses alerting and revocation without detailing scanner internals.
- Examples
- Scans prompt logs, training corpora, RAG stores, uploads, outputs, and the ClaimAssist CI pipeline.
- What you can do after
- Apply secret scanning with GitGuardian or GitHub’s built-in scanner across code and GenAI-specific surfaces.
Grokking Software Architecture
Secrets scanning is the automated detection of credentials, tokens, and other sensitive values embedded in source code or configuration.
- How it is used
- Uses automated scanning in deployment pipelines to help prevent hardcoded API keys from being merged into source code.
- How deep it goes
- Identifies the pipeline control and its purpose, but does not describe detection mechanics or configuration.
- Examples
- Uses a hardcoded API key accidentally merged into source code as the failure scanning should prevent.
- What you can do after
- Operate an automated pipeline control that helps catch hardcoded API keys before they are merged.
Read how Grokking Software Architecture explains secret scanning →
Also covered in
What to know first
- infrastructure as codeInfrastructure as code is the practice of defining, provisioning, and managing computing infrastructure through machine-readable code or configuration rather than manual procedures.
Related concepts
- Microsoft Security DevOpsused by · Microsoft Security DevOps is a Microsoft application that integrates security analysis tools into software development and continuous integration pipelines.
- precommit hookimplemented by · A pre-commit hook is an automated version-control action that runs before a commit is created and may reject it when configured checks fail.
- vulnerabilityaddresses · A vulnerability is a weakness or condition that makes a system, person, or group susceptible to exploitation, compromise, or other harm.
- security information and event managementused by · Security information and event management is a class of security systems that centrally collects, correlates, and analyzes security events and log data to support monitoring and response.
Questions about secret scanning
What is secret scanning?
Secret scanning is the automated detection of exposed credentials, tokens, keys, and other sensitive authentication or authorization information in source code and related artifacts.
Which Manning books explain secret scanning?
AI Governance and Grokking Software Architecture.
What should I know before learning secret scanning?
Manning books that teach secret scanning usually introduce infrastructure as code first.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

