tartan grant
For tartan 0.9.36
tartannetworks.com/docs/cli/grant.mdtartan grant accept
accept an offered grant, naming the CA this org presents (the grantor runs admission on it); --groups picks which of this org's devices use it, by its tags, in the same step (without it: nobody until grant use)
tartan grant accept --org <string> --id <string>
Role: admin · Writes: yes · Steps up: always
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--id |
string | yes | grant id |
--ca_sha |
string | no | the CA to present (default: the active CA) |
--groups |
list | no | this org's tags whose devices use it (as grant use; omitted: nobody yet) |
tartan grant deny
delete an incoming offer this org doesn't want (the grantor isn't told; an accepted grant is revoked instead)
tartan grant deny --org <string> --id <string>
Role: admin · Writes: yes · Steps up: always · Batch: may share one passkey prompt
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--id |
string | yes | grant id |
tartan grant intake allow
let an org offer this org grants (under mode allowed)
tartan grant intake allow --org <string> --partner <string>
Role: admin · Writes: yes · Steps up: always · Batch: may share one passkey prompt
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--partner |
string | yes | the org (registry id or handle) |
tartan grant intake remove
take an org off the intake allowlist (grants already held from it are untouched)
tartan grant intake remove --org <string> --partner <string>
Role: admin · Writes: yes · Steps up: always · Batch: may share one passkey prompt
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--partner |
string | yes | the org (registry id or handle) |
tartan grant intake set
set who may offer this org a grant: off, allowed (only the allowlist; every posture's) or anyone (the org's own: Custom)
tartan grant intake set --org <string> --mode <string>
Role: owner · Writes: yes · Steps up: always
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--mode |
string | yes | off | allowed | anyone |
--version |
string | no | the posture version you read (posture show): refused if the security settings moved since |
tartan grant intake show
who may offer this org a grant: the intake mode (off, allowed, anyone) and the allowlist
tartan grant intake show --org <string>
Role: viewer · Writes: no · Steps up: never
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
tartan grant list
every grant on this org's network (both roles)
tartan grant list --org <string>
Role: viewer · Writes: no · Steps up: never
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
tartan grant offer
offer a partner org a tag on ports for its groups: signed and delivered to its controller; every device carrying the tag must sit in a shareable zone
tartan grant offer --org <string> --grantee <string> --ports <list>
Role: admin · Writes: yes · Steps up: always
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--grantee |
string | yes | the partner org (registry id or handle) |
--ports |
list | yes | e.g. 443/tcp,3389/tcp |
--devices |
list | no | refused for a new offer (share a tag); kept to print the reason |
--groups |
list | no | the served tags (never a built-in) |
--nat |
list | no | refused: kept to print the reason |
--grantee_groups |
list | no | refused: the partner picks its own devices after accepting (grant use) |
--names |
list | no | gated or public names the partner sees |
--ttl |
string | no | an optional hard end, 1 h to 30 d (336h or 14d): the grant expires then on its own; without it the grant runs until revoked (re-signed daily) |
--listed |
bool | no | a listed grant |
tartan grant pending
how many offers made to this org wait for an accept (not expired)
tartan grant pending --org <string>
Role: viewer · Writes: no · Steps up: never
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
tartan grant revoke
revoke a grant (either side): effective here at once; the partner is told
tartan grant revoke --org <string> --id <string>
Role: admin · Writes: yes · Steps up: always · Batch: may share one passkey prompt
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--id |
string | yes | grant id |
tartan grant show
one grant and its doc chain
tartan grant show --org <string> --id <string>
Role: viewer · Writes: no · Steps up: never
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--id |
string | yes | grant id |
tartan grant use
pick which of this org's devices use a received share, by this org's tags (empty: nobody, the default)
tartan grant use --org <string> --id <string> --groups <list>
Role: admin · Writes: yes · Steps up: always
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--id |
string | yes | grant id |
--groups |
list | yes | this org's tags whose devices use it (empty list: nobody) |