Tartan NetworksStart free

Docs / Reference

The tartan CLI reference

For tartan 0.9.36

For your AI: tartannetworks.com/docs/cli/index.md

Generated 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 list
  • admin-device: admin-device approve, admin-device list, admin-device outside, admin-device revoke
  • approval: approval approve, approval approve-pair, approval deny, approval deny-pair, approval list, approval pairs
  • audit: audit export, audit query, audit span, audit verify
  • batch: batch run
  • bug: bug collect, bug guide, bug list, bug show, bug submit, bug withdraw
  • ca: ca show
  • code: code create, code list, code revoke
  • device: 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 suspend
  • docs: docs
  • doctor: doctor run
  • edge: edge converge, edge ignition, edge list, edge placements, edge plan, edge restart, edge site-node fetch, edge site-node show
  • egress: egress activate, egress arm, egress catalog, egress catalog-add, egress deactivate, egress declare, egress list, egress scope set, egress show
  • fwzone: fwzone add, fwzone list, fwzone remove, fwzone set
  • grant: 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 use
  • group: group add, group create, group delete, group describe, group list, group remove, group set, group show
  • help: help
  • idp: idp trust add, idp trust list, idp trust remove
  • join: join
  • login: login
  • me: me show
  • name: name list, name remove, name set
  • nat: nat add, nat list, nat remove, nat set
  • org: 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-ds
  • owner: owner bind, owner emergency-key show, owner unbind
  • partner: partner admit, partner list, partner show
  • people: people list
  • posture: posture set, posture show
  • profile: profile init, profile list, profile remove, profile set, profile show
  • release: release override drop, release rings, release status, release suppress, release unsuppress
  • role: role bind, role list, role unbind
  • rule: rule add, rule list, rule remove
  • session: session add, session end, session lock
  • signup: signup
  • site: site add, site list, site set
  • skill: skill export, skill show
  • sso: sso check, sso consent
  • tech: tech approve, tech list, tech release, tech revoke, tech unblock
  • trust: trust show
  • user: 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 remove
  • version: version
  • zone: zone show, zone tls renew, zone tls status