Tartan NetworksStart free

Docs / Outsourced IT

Techs, just in time

For tartan 0.9.36

A tech opens a tunnel into one organization for a job: at most 10 hours, their own passkey every time, a reason the organization's Admins see.

For your AI: tartannetworks.com/docs/techs-just-in-time.md

A tech opens a tunnel into one organization for a job: at most 10 hours, their own passkey every time, a reason the organization's Admins see.

Connecting needs the tech, admin or owner role in the organization you connect to (Your team and your clients). Below, the tech's home organization is acme and the client is northgate.

The tech's side runs the Tartan agent's own tartan.exe on Windows, at C:\Program Files\Tartan\Agent\tartan.exe (not on the PATH), not the admin CLI. Each of its commands takes --json.

1. Register the computer once, in your home organization

A join from an invite link on a computer with the agent installed registers it already. Check first:

& "C:\Program Files\Tartan\Agent\tartan.exe" tech list
& "C:\Program Files\Tartan\Agent\tartan.exe" tech register --org acme

Windows Hello asks for your passkey. The computer then waits for an Admin of acme; acme's Admin's passkey approves it:

tartan approval list --org acme
tartan tech approve --org acme --approval <approval id>

In the console: Approvals › Tech › Approve. A computer approved in your home organization connects to every organization where you hold the tech, admin or owner role, with no register or approval there.

2. Connect for the job

& "C:\Program Files\Tartan\Agent\tartan.exe" tech mint --org northgate --reason "printer ticket" --hours 2

--hours is 1 to 10 (10 if left out). The reason is optional and the organization's Admins see it. Your passkey is asked every time. In the console: Connect to network (Ctrl T), with a reason and the hours, then Connect.

A tech tunnel is machine-wide: while it is up, anyone signed in on the computer reaches the organization as you. Connect only while you are the one signed in.

3. Past the daily limit

By default a tech connects 30 times per organization in any 24 hours on their own, with no Admin approval. Past that, the connect waits for an Admin of that organization, and you finish it with the approval's id. northgate's Admin's passkey approves it:

tartan approval list --org northgate
tartan tech approve --org northgate --approval <approval id>
& "C:\Program Files\Tartan\Agent\tartan.exe" tech mint --org northgate --approval <approval id>

Any Admin changes the limit: tartan org set --org northgate --key tech_mints_per_24h --value 10.

4. Close it

& "C:\Program Files\Tartan\Agent\tartan.exe" tech down --org northgate

In the console: Disconnect. Left open, the tunnel's certificate ends when its hours run out.

Cut a tech off (the organization's Admin)

northgate's Admin's passkey approves it.

tartan tech list --org northgate
tartan tech revoke --org northgate --kid <kid> --user <user id> --dry-run
tartan tech revoke --org northgate --kid <kid> --user <user id>

With --user, it cuts one person on that computer. Without it, it blocks the computer for everyone, for a lost or stolen machine; only tartan tech unblock --org northgate --kid <kid> lifts that. A revoke in the tech's home organization cuts their computer off in every organization it connected to.

Check it worked

  • The agent's tech list shows the organization and its tunnel, with its end.
  • tartan tech list --org northgate shows the computer, the person and the connection with its reason.
  • tartan audit query --org northgate records each connection.

Next