Quick Start Guide for ggshield, the GitGuardian CLI
Get up and running with ggshield, the GitGuardian CLI, in just a few minutes by installing it, authenticating, and running your first secrets scan. This quick-start video shows you how to scan individual files and entire projects, then lock in protection with a pre-commit Git hook to keep secrets out of your commits. If you’re ready to go deeper, you’ll find a link to the full in-depth ggshield walkthrough in the description.
Additional resources:
Installing Git: https://git-scm.com/install/
Installing Python: https://www.python.org/downloads/
ggshield GitHub repo: https://github.com/gitguardian/ggshield
ggshield documentation: https://docs.gitguardian.com/ggshield-docs/home
GitGuardian's website: https://www.gitguardian.com/
Chapters
00:00 – Intro & agenda
00:24 – Prerequisites (Python, Git, GitGuardian account)
00:45 – Installing ggshield with pipx
01:09 – Logging into your GitGuardian account (ggshield auth login)
01:56 – Running your first secrets scan on a single file
02:11 – Scanning a whole project recursively
02:35 – Setting up a local pre-commit Git hook
02:52 – What the pre-commit Git hook does
03:10 – Outro