Skip to main content

teale ptn

Manage Private TealeNet (PTN) memberships.

Synopsis

teale ptn <subcommand> [options]

Description

A Private TealeNet (PTN) is a closed network of trusted nodes that share inference capacity. PTN membership is controlled by CA-signed certificates issued by admins.

Subcommands

teale ptn list

List all PTN memberships for this node.

teale ptn list [--json]
OptionTypeDescription
--jsonflagOutput machine-readable JSON
teale ptn list

teale ptn create

Create a new PTN. This node becomes the initial admin and certificate authority.

teale ptn create <name>
ArgumentTypeDescription
<name>stringDisplay name for the PTN (required)
teale ptn create "Acme Corp"

teale ptn invite

Generate a one-time invite code for a PTN.

teale ptn invite <ptnID>
ArgumentTypeDescription
<ptnID>stringID of the PTN (required)
teale ptn invite ptn-abc123

teale ptn issue-cert

Issue a signed membership certificate to a node.

teale ptn issue-cert <ptnID> <nodeID> [--role <role>]
Argument/OptionTypeDefaultDescription
<ptnID>stringID of the PTN (required)
<nodeID>stringID of the node to certify (required)
--rolestringproviderRole to assign (provider or admin)
teale ptn issue-cert ptn-abc123 node-def456
teale ptn issue-cert ptn-abc123 node-def456 --role admin

teale ptn join

Join a PTN using a signed certificate.

teale ptn join <certData>
ArgumentTypeDescription
<certData>stringSigned certificate data (required)
teale ptn join "cert-signed-data..."

teale ptn leave

Leave a PTN and revoke local membership.

teale ptn leave <ptnID>
ArgumentTypeDescription
<ptnID>stringID of the PTN to leave (required)
teale ptn leave ptn-abc123

teale ptn promote-admin

Promote a member to admin role within a PTN.

teale ptn promote-admin <ptnID> <nodeID>
ArgumentTypeDescription
<ptnID>stringID of the PTN (required)
<nodeID>stringID of the node to promote (required)
teale ptn promote-admin ptn-abc123 node-def456

teale ptn import-ca-key

Import a CA signing key for a PTN. Used to transfer CA authority or restore from backup.

teale ptn import-ca-key <ptnID> <caKeyHex>
ArgumentTypeDescription
<ptnID>stringID of the PTN (required)
<caKeyHex>stringHex-encoded CA private key (required)
teale ptn import-ca-key ptn-abc123 a1b2c3d4e5f6...

teale ptn recover

Recover a PTN membership that has become disconnected or corrupted.

teale ptn recover <ptnID>
ArgumentTypeDescription
<ptnID>stringID of the PTN to recover (required)
teale ptn recover ptn-abc123