Secret scanning CLI for hardcoded keys and API tokens.
Use Radar as a local secret scanning CLI to catch hardcoded secrets, API keys, private credentials, and risky placeholders before review.
radar scan . --quickHardcoded secrets scanner
Radar reports committed tokens and credential-like literals alongside SAST, dependency, and code-health findings so reviewers see one merge-readiness signal.
- API key scanner
- Git secrets scanner alternative
- Private credential findings
- Review-ready severity
Evidence to inspect
Use “Secret scanning CLI for hardcoded keys and API tokens.” as the scope for this decision: verify the input, finding detail, workflow handoff, and product boundary before you install or buy.
Run this check locally
Works before push and in CI
Run secret checks locally, from a Git hook, or inside GitHub Actions with the same report model.
radar scan . --quick
radar hook install
radar scan . --format sarif --fail-on highPrimary sources
Validate the workflow on your own code.
Apply this page’s evidence to one real repository. For “Secret scanning CLI for hardcoded keys and API tokens.”, confirm which finding is produced, whether the proposed next step is reproducible, and where local scanning, reports, agents, or CI should stop or expand.