Docs / Reference
The tartan CLI reference
For tartan 0.9.36
tartannetworks.com/docs/cli/index.mdGenerated by tartan docs from tartan 0.9.36 (16340da58d8948577733c0bec781ff9e8a88fc5a): this binary's own commands. Run tartan help --json for the same in JSON, and tartan version --server to check that this CLI matches your control.
How to read an answer
Every command takes --json and answers {ok, result, error, code} on stdout; the words go to stderr. Exit codes:
| Code | Means |
|---|---|
| 0 | ok |
| 1 | other or usage |
| 2 | refused: the step-up was refused, the session or device is over, a request counter was refused (another process on the profile), or a check stopped it |
| 3 | pending: an approval holds it (result names the approval) |
| 4 | not found, or this CLI is older than control |
| 5 | conflict |
Where a person acts
A command whose Steps up is always (or some) asks the person for their passkey (a passkey prompt), bound to that exact write. An AI runs the command, tells the person in words what the prompt approves, and waits: it never holds, makes or touches a passkey. Person acts says what the person does by hand.
Flags every table verb takes
Besides its own flags, every command of control's verb table (not the local ones) takes these:
| Flag | Type | Required | What |
|---|---|---|---|
--dry-run |
bool | no | validate and show the change without committing it |
--help |
bool | no | describe this verb (with --json: machine-readable) |
--idempotency-key |
string | no | make a write safe to retry |
--json |
bool | no | compact JSON output (the stable schema) |
--profile |
string | no | a network profile (tartan profile init + login): use the admin API as a signed-in user |
--socket |
string | no | the instance operator's admin socket |
--sso-token |
string | no | Secret: the person's own, never filled in by an AI. a fresh access token from your organization for a step-up, or @file |
Commands
acceptance:acceptance listadmin-device:admin-device approve,admin-device list,admin-device outside,admin-device revokeapproval:approval approve,approval approve-pair,approval deny,approval deny-pair,approval list,approval pairsaudit:audit export,audit query,audit span,audit verifybatch:batch runbug:bug collect,bug guide,bug list,bug show,bug submit,bug withdrawca:ca showcode:code create,code list,code revokedevice:device approve,device deny,device forget,device forgotten,device list,device reap,device release,device restore,device resume,device revoke,device set,device show,device suspenddocs:docsdoctor:doctor runedge:edge converge,edge ignition,edge list,edge placements,edge plan,edge restart,edge site-node fetch,edge site-node showegress:egress activate,egress arm,egress catalog,egress catalog-add,egress deactivate,egress declare,egress list,egress scope set,egress showfwzone:fwzone add,fwzone list,fwzone remove,fwzone setgrant:grant accept,grant deny,grant intake allow,grant intake remove,grant intake set,grant intake show,grant list,grant offer,grant pending,grant revoke,grant show,grant usegroup:group add,group create,group delete,group describe,group list,group remove,group set,group showhelp:helpidp:idp trust add,idp trust list,idp trust removejoin:joinlogin:loginme:me showname:name list,name remove,name setnat:nat add,nat list,nat remove,nat setorg:org create,org delete,org deletion,org export,org nat-prefix add,org overview,org register,org rename,org ring,org set,org settings,org setup,org show,org sso-off,org suspend,org v4 add,org zone-dsowner:owner bind,owner emergency-key show,owner unbindpartner:partner admit,partner list,partner showpeople:people listposture:posture set,posture showprofile:profile init,profile list,profile remove,profile set,profile showrelease:release override drop,release rings,release status,release suppress,release unsuppressrole:role bind,role list,role unbindrule:rule add,rule list,rule removesession:session add,session end,session locksignup:signupsite:site add,site list,site setskill:skill export,skill showsso:sso check,sso consenttech:tech approve,tech list,tech release,tech revoke,tech unblocktrust:trust showuser:user add-device,user invite,user invite list,user invite renew,user invite revoke,user join list,user list,user passkey list,user passkey remove,user removeversion:versionzone:zone show,zone tls renew,zone tls status