Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Recipes

Summary: one short page per task, from a first login to CI, machines, coding agents and your own server.
Key terms: recipe, login, project, machine device, SECRETS_DEVICE, GitHub Action, agent, self-host.
Related: Flows · Operation · agent skill

Each recipe shows the commands for one task. Find the task in the table, copy the commands, and adapt the names. The flows explain what each command sends, and the spec has the exact rules.

The recipes

You needRecipe
A first login, a project, secrets and runstart
A team: share, remove, rotate, auditsharing
A server or another program that reads one environmentmachines
A GitHub Actions workflow with secretsgithub-actions
A coding agent that uses secrets without seeing themagents
Your own serverself-host

Common commands

TaskCommand
Check the setupsecrets-chad doctor
See who is logged insecrets-chad whoami
List names and versionssecrets-chad ls (--json for scripts)
Run with secretssecrets-chad run -- CMD
Write a filesecrets-chad export --format env|json|docker --out FILE [--merge]
Own account activitysecrets-chad activity
Own devicessecrets-chad device ls, device revoke ID
Read the docs offlinesecrets-chad docs, secrets-chad docs <page>, secrets-chad docs --open

Exit codes

CodeMeaning
1Other error, or check found missing names
2Wrong arguments, or a person must act
3Not logged in, or the device was revoked
4Not allowed
5Not found
6Integrity error: a signature or a check failed, and the server may be lying. Stop
7Network or server error
8An owner must rotate keys first
9Refused for a coding agent, because it would show a secret