gtme secret
Store a credential in ~/.gtme/secrets (VALUE omitted = prompt, no echo)
What you'll learn
You're about to type gtme secret and want its forms and its flags.
- every form of
gtme secretand what each does - each flag and what it changes
- where the docs use it
Store a credential in ~/.gtme/secrets (VALUE omitted = prompt, no echo)
Forms
gtme secret set KEY [VALUE]
It exits with one of the exit codes every verb shares.
Example
From Your CSV:
gtme secret set ANTHROPIC_API_KEY
Used in
- Agent-operable by design: The prompt where you, never the agent, enter a key after exit code 3
- Connect your stack: secrets, plan, dry-run, arm: How gtme secret set stores a key without echoing it
- Run on cron and events: Writes keys to ~/.gtme/secrets, where a cron run can find them
- Package and share a campaign: Stores a key on the receiving machine, since keys never travel in a bundle
- Use gtme from Claude Code: The prompt where you enter a key after plan names it