Tartan NetworksStart free

Docs / Sharing

Share with a partner org

For tartan 0.9.36

Grant another Tartan organization one tag's devices on the ports you name.

For your AI: tartannetworks.com/docs/partner-org.md

Grant another Tartan organization one tag's devices on the ports you name. It reaches that and nothing else, and either side ends it.

A share is a grant. Below, acme shares a file server with northgate. Each organization runs its own steps, and a write that steps up asks the person running it for their passkey.

1. The partner allows you (northgate's Admin)

By default an organization takes offers only from organizations on its own allowlist. An offer sent before this step is refused, and nothing is kept on either side.

In the console: Settings › Sharing intake › Allow an org. With the CLI, check the organization first, then allow it. Your passkey approves it:

tartan partner show --org northgate --partner acme
tartan grant intake allow --org northgate --partner acme

tartan grant intake show --org northgate lists the mode and the allowlist. Every security posture keeps the mode at allowed (the allowlist); opening it to anyone is the Owner's choice and shows the posture as Custom.

2. Tag the computer you share (acme)

You share a tag, never a single device. Every device that carries the tag is part of the share.

tartan group create --org acme --name shared-files
tartan group add --org acme --name shared-files --device <device id>

In the console: Tags › Add a tag. Share devices that run the agent: a NAT resource is never shared.

3. Move it to a shareable zone (acme)

Move the device to resource-external, or to another zone an Admin has set with --shareable (Zones and firewall rules).

tartan fwzone list --org acme
tartan device set --org acme --device <device id> --zone resource-external

In the console: Firewall, then Move on the device's row.

4. Offer it (acme's Admin)

Name the partner, the tag and the ports. --ttl sets a hard end, from 1 h to 30 d; without it the grant runs until someone revokes it, and it is re-signed daily.

tartan grant offer --org acme --grantee northgate --groups shared-files --ports 445/tcp --ttl 14d

In the console: Sharing › Offer access, with To, Tag, Ports and Until. If the partner's control, Tartan's control plane, can't be reached, the offer is kept and sent again each day.

5. Accept and pick who uses it (northgate's Admin)

Nobody in the partner organization uses a share until its Admin picks a tag. Only that organization's devices with the tag reach it.

tartan grant pending --org northgate
tartan grant list --org northgate
tartan grant show --org northgate --id <grant id>
tartan grant accept --org northgate --id <grant id> --groups finance

tartan grant use --org northgate --id <grant id> --groups finance changes the pick later. To turn an offer down: tartan grant deny --org northgate --id <grant id> (the offering organization isn't told).

In the console: Sharing › Received › Review › Accept, then Who here on the share.

6. End it (either side)

tartan grant revoke --org acme --id <grant id>

It takes effect at once on the side that revokes, and the other side is told. In the console: Sharing, then Revoke on the grant (Withdraw on an offer not yet accepted).

Check it worked

  • tartan grant list --org acme shows the grant as active on acme's side, and tartan grant list --org northgate shows it active on northgate's.
  • tartan device show --org northgate --device <device id> --schema tartan.device.v1 lists the grant under shares once the device has checked in.
  • From a northgate device with the finance tag, the shared port answers. Every other port and device of acme stays closed to northgate.

Next