03Chapter 3: Using your CI platform's secret storeThis chapter assumes you can write a basic GitHub Actions workflow, know what an environment variable is, and understand what an API token is. The examples use GitHub Actions. GitLab CI, CircleCI, and other platforms have similar features under different names.3 min read
05Chapter 5: Log masking and why it is not a security boundaryThis chapter assumes you can read a GitHub Actions workflow, know what an environment variable is, and have stored a repository secret. You will learn what log masking does, where it fails, and what to do about those failures.3 min read
06Chapter 6: Scoping secrets to environments, branches, and jobsThis chapter assumes you can write a basic GitHub Actions workflow, know what a repository secret is, and understand environment variables in a shell. The examples use GitHub Actions. GitLab CI and other platforms offer similar controls under different names.3 min read
07Chapter 7: Keeping secrets away from fork pull requests and untrusted codeThis chapter assumes you can read a GitHub Actions workflow, know how repository secrets are stored and referenced, and understand that a pull request (PR) from a fork is a proposal to run someone else's code in your project.2 min read
08Chapter 8: Pinning third-party actions and limiting workflow permissionsThis chapter assumes you can read a GitHub Actions workflow file and know how repository secrets reach a job. Earlier chapters covered how secrets are stored and scoped. Here the concern is the code that runs beside your secrets.2 min read
09Chapter 9: External secret managers and fetching secrets at run timeThis chapter assumes you can read a GitHub Actions workflow, know what an environment variable is, and have used a platform secret store such as repository secrets. It covers when to move secrets out of the CI platform and how a job fetches them at run time.3 min read
10Chapter 10: Replacing stored cloud keys with OIDC and short-lived credentialsThis chapter assumes you can read a GitHub Actions workflow, know what an IAM role is, and have used environment variables in a shell. It uses GitHub Actions and AWS as the example, but other CI systems and clouds follow the same model.3 min read
11Chapter 11: Scanning for secrets before and after they reach the repositoryThis chapter assumes you know basic Git, can read a GitHub Actions workflow, and understand that a committed token is exposed to everyone who can read the repository. Secret scanning is the safety net for the leak paths covered earlier. It finds credentials that slipped past your habits.2 min read
12Chapter 12: Rotating and revoking secretsThis chapter assumes you can read a GitHub Actions workflow, know what an API token or cloud credential is, and have stored a secret in your CI platform's secret store. It covers how to replace secrets on a schedule (rotation) and how to kill them on demand (revocation).3 min read
13Chapter 13: Auditing and monitoring secret accessThis chapter assumes you can read a GitHub Actions workflow and know what an AWS IAM role is. You should also have seen platform secret stores and an external secret manager in earlier chapters. Here you will learn how to see who used a secret, so that misuse shows up as a signal instead of a surpri3 min read
14Chapter 14: What to do when a secret leaksThis chapter assumes you have used GitHub Actions or a similar CI system, know basic Git, and can read the workflow and IAM examples from earlier chapters. It covers the first hours after you find an exposed credential.3 min read