Device Authentication
Browser-based login with secure device authorization flow.
$ npm install trigguard
added 1 package in 2s
$ npx trigguard demo
TrigGuard demo
Authorizing deploy.release...
Decision: PERMIT
Receipt: VERIFIED
✓ TrigGuard is working
Quickstart
Machine onboarding: npm install trigguard then npx trigguard demo (no API key). Human / live onboarding: console account, TRIGGUARD_API_KEY, then live authorize() or advanced tg commands.
Canonical package. Requires Node.js 18+.
$ npm install trigguard
Machine onboarding - offline PERMIT and verified receipt. No API key required. For live auth later: create a key at console.trigguardai.com and set TRIGGUARD_API_KEY (optional tg login).
$ npx trigguard demo
Live path only - set TRIGGUARD_API_KEY first. Without credentials, authorize() may return SILENCE with no receipt. Decisions: PERMIT, DENY, ESCALATE, SILENCE.
$ tg authorize \
--surface deploy.release \
--actor demo \
--intent "test deployment"
Independent offline verification for a live receipt. Inspect receipts in the receipt explorer. Independent verification · Receipt schema
$ tg verify --execution-id exec_xxxxx
Terminal demo
$ npm install trigguard
$ npx trigguard demo
TrigGuard demo
Authorizing deploy.release...
Decision: PERMIT
Receipt: VERIFIED
✓ TrigGuard is working
# Live path (credentials required):
$ export TRIGGUARD_API_KEY=tg_live_…
$ tg authorize \
--surface deploy.release \
--actor demo \
--intent "test deployment"
$ tg verify --execution-id exec_xxxxx
Security
Browser-based login with secure device authorization flow.
receipts verifiable offline.
Independent validation without dashboard dependency.
No receipt, no execution path.
Next steps