Browse documentation

Portable .tine files default to v5 (since 0.42). --for-legacy writes v4. The .tine/ repository format is v3. tine evidence export writes v4. Formats and protocols.

Docs target stable release v0.76.0.Stable vs main checked 2026-11-21

Generated command reference · v0.76.0

tine serve

Portable .tine files default to v5 (since 0.42). --for-legacy writes v4. The .tine/ repository format is v3. tine evidence export writes v4.

Generated from the pinned release’s tine help --json, validated against tine-help/1. Flags and defaults below come from its parser. A null default means unset or withheld as machine-specific.

All commands

tine serve

Run the minimal self-hosted v3 remote

tine serve [-h] [--root ROOT] [--host HOST] [--port PORT] [--tenant TENANT] [--role {reader,writer,admin}] [--token-env TOKEN_ENV] [--cert CERT] [--key KEY] [--insecure-dev] [--insecure-dev-any-host] [--writer-promotes] [--fast-forward-heads] [--uncompressed-tenant TENANT] [--webhooks-allow-private] [--timeout TIMEOUT] [--header-timeout HEADER_TIMEOUT] [--request-deadline REQUEST_DEADLINE] [--max-body-mb MAX_BODY_MB] [--max-upload-mb MAX_UPLOAD_MB] [--max-connections MAX_CONNECTIONS] [--max-connections-per-peer MAX_CONNECTIONS_PER_PEER] [--migrate-legacy-audit] [--reanchor-audit-head SHA256] [--otlp] [--otlp-port OTLP_PORT] [--otlp-idle OTLP_IDLE] [--otlp-protocol {http,grpc,both}] [--otlp-grpc-port OTLP_GRPC_PORT] [--otlp-token-file FILE] [--allow-weak-tokens] [--oidc-issuer OIDC_ISSUER] [--oidc-audience OIDC_AUDIENCE] [--oidc-jwks-uri OIDC_JWKS_URI] [--oidc-tenant-claim OIDC_TENANT_CLAIM] [--oidc-roles-claim OIDC_ROLES_CLAIM] [--ci-trust FILE] [--limits FILE] [--passkey-rp-id PASSKEY_RP_ID] [--passkey-origin PASSKEY_ORIGIN] [--dev-login] [--open-signup] [--quota-rate PER_SECOND] [--quota-burst QUOTA_BURST] [--quota-max-keys QUOTA_MAX_KEYS] [--vsa-dir DIR] [--vsa-signing-key FILE] [--trust-policy NAME=FILE] [--mirror] [--mirror-poll-seconds MIRROR_POLL_SECONDS] [--mirror-max-mb MIRROR_MAX_MB] [--mirror-allow-local] ACTION ...
Argument / flagContract
--root

Positional argument.

Default: ".tine-remote"

--host

Positional argument.

Default: "127.0.0.1"

--port

Positional argument.

Default: 8787

--tenant

Positional argument.

Default: "default"

--role

Positional argument.

Choices: reader, writer, admin

Default: "writer"

--token-env

Positional argument.

Default: "TINE_REMOTE_TOKEN"

--cert

Positional argument.

--key

Positional argument.

--insecure-dev

Positional argument.

Default: false

--insecure-dev-any-host

Allow --insecure-dev (plaintext bearer tokens) on a non-loopback --host

Default: false

--writer-promotes

Let writers move promotions/* and existing tags/* (admin-only by default)

Default: false

--fast-forward-heads

Refuse non-fast-forward heads/* moves unless an admin pushes with --force

Default: false

--uncompressed-tenant

Store this tenant's objects sealed but uncompressed (repeatable)

Default: []

--webhooks-allow-private

Let webhooks target private/loopback addresses and http:// (self-host only)

Default: false

--timeout

Per-connection socket timeout (s)

Default: 30

--header-timeout

Seconds to send TLS + request headers

Default: 10

--request-deadline

Absolute request deadline (s)

Default: 60

--max-body-mb

Max single request size (MiB)

Default: 16

--max-upload-mb

Max resumed pack size (MiB)

Default: 256

--max-connections

Maximum worker threads

Default: 16

--max-connections-per-peer

Worker threads one peer may hold (half)

--migrate-legacy-audit

One-time trust-on-migration for pre-HMAC audit rows

Default: false

--reanchor-audit-head

Recover a verified chain only when its computed head equals SHA256

--otlp

Serve an OTLP/HTTP receiver that saves runs instead

Default: false

--otlp-port

OTLP/HTTP port (4318)

Default: 4318

--otlp-idle

Save a trace after this many idle seconds

Default: 30

--otlp-protocol

OTLP transport(s) (http)

Choices: http, grpc, both

Default: "http"

--otlp-grpc-port

OTLP/gRPC port (4317)

Default: 4317

--otlp-token-file

Bearer token OTLP/gRPC callers must send

--allow-weak-tokens

Start even if the static token is shorter than 32 bytes

Default: false

--oidc-issuer

Verify OIDC bearer tokens from this HTTPS issuer

--oidc-audience

Audience OIDC tokens must carry

--oidc-jwks-uri

HTTPS JWKS URL (default: from the issuer's discovery document)

--oidc-tenant-claim

Claim naming the tenant

Default: "tenant"

--oidc-roles-claim

Claim listing the roles

Default: "roles"

--ci-trust

CI OIDC exchange trust config (JSON)

--limits

Quotas: 'fair-use' or a JSON file; default: unlimited

--passkey-rp-id

Enable passkey login for this WebAuthn RP id

--passkey-origin

The https:// origin passkey ceremonies run on

--dev-login

Development only (needs --insecure-dev): sign in as any subject with no proof

Default: false

--open-signup

Let any signed-in subject create tenants

Default: false

--quota-rate

Per-tenant/subject token refill rate; over-quota requests get 429

--quota-burst

Token bucket size (60)

Default: 60

--quota-max-keys

Buckets tracked before LRU eviction

Default: 10000

--vsa-dir

Write a SLSA VSA for every admitted push to DIR

--vsa-signing-key

Sign each VSA (DSSE, Ed25519) with the server's own key: a 32-byte seed or 64-char hex; its public half is advertised in capabilities.vsa.keys

--trust-policy

Admit ref updates only under this named opentine.admission-policy (repeatable, first match decides); each VSA records the deciding policy

Default: []

--mirror

Serve a read-only code mirror of linked projects

Default: false

--mirror-poll-seconds

Sync every linked mirror this often (0: webhook-triggered sync only)

Default: 300

--mirror-max-mb

Largest upstream a mirror holds (MiB)

Default: 512

--mirror-allow-local

Allow file:// upstreams (self-host and tests only)

Default: false

tine serve associations

List annotations/attestations naming an object, oldest first

tine serve associations [-h] [--root ROOT] [--tenant TENANT] [--json] [--text] OID
Argument / flagContract
targetRequired

Positional argument.

--root

Remote state directory

--tenant

Tenant namespace

--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine serve delete-objects

Delete objects that no ref reaches except as associations

tine serve delete-objects [-h] [--from FILE] [--dry-run] [--root ROOT] [--tenant TENANT] [--json] [--text] [OID ...]
Argument / flagContract
oids

Positional argument.

--from

'-' for stdin

--dry-run

Report without changing

Default: false

--root

Remote state directory

--tenant

Tenant namespace

--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine serve delete-ref

Delete a ref (compare-and-swap)

tine serve delete-ref [-h] [--expect OID] [--root ROOT] [--tenant TENANT] [--json] [--text] name
Argument / flagContract
nameRequired

Positional argument.

--expect

Delete only if the ref targets OID

--root

Remote state directory

--tenant

Tenant namespace

--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine serve purge

Delete objects no ref reaches

tine serve purge [-h] [--grace-seconds GRACE_SECONDS] [--force] [--dry-run] [--root ROOT] [--tenant TENANT] [--json] [--text]
Argument / flagContract
--grace-seconds

Keep unreferenced objects written this recently (default 3600)

Default: 3600

--force

Allow --grace-seconds below 60, which can race a push in progress

Default: false

--dry-run

Report without changing

Default: false

--root

Remote state directory

--tenant

Tenant namespace

--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine serve refs

List the tenant's refs straight from storage

tine serve refs [-h] [--root ROOT] [--tenant TENANT] [--json] [--text]
Argument / flagContract
--root

Remote state directory

--tenant

Tenant namespace

--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine serve reseal

Rewrite stored objects as aes3 (0.11 rollback), aes4 (compressed) or aes6

tine serve reseal [-h] --to {aes3,aes4,aes6} [--from {aes2}] [--dry-run] [--root ROOT] [--tenant TENANT] [--json] [--text]
Argument / flagContract
--toRequired

Positional argument.

Choices: aes3, aes4, aes6

--from

Only rewrite tenant-bound TINEAES1/TINEAES2 objects into the slot-bound form

Choices: aes2

--dry-run

Report without changing

Default: false

--root

Remote state directory

--tenant

Tenant namespace

--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine serve token

Mint, list or revoke scoped API tokens (0.52)

tine serve token [-h] VERB ...

tine serve token list

The tenant's tokens (never their secrets)

tine serve token list [-h] [--root ROOT] [--tenant TENANT] [--json] [--text]
Argument / flagContract
--root

Remote state directory

--tenant

Tenant namespace

--json

Print tine-cli-serve-token-1

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine serve token mint

Mint a token; its secret is printed once

tine serve token mint [-h] [--access {read,write}] [--ref NAMESPACE] [--ttl TTL] [--label LABEL] [--root ROOT] [--tenant TENANT] [--json] [--text]
Argument / flagContract
--access

Positional argument.

Choices: read, write

Default: "read"

--ref

A ref (heads/main) or prefix (heads/ci/) it may reach; repeatable; '*' = all

--ttl

Lifetime: 900s, 12h, 30d (max 366d)

Default: "90d"

--label

A note shown by list

Default: ""

--root

Remote state directory

--tenant

Tenant namespace

--json

Print tine-cli-serve-token-1

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine serve token revoke

Revoke a token by id (idempotent)

tine serve token revoke [-h] [--root ROOT] [--tenant TENANT] [--json] [--text] ID
Argument / flagContract
token_idRequired

Positional argument.

--root

Remote state directory

--tenant

Tenant namespace

--json

Print tine-cli-serve-token-1

Default: false

--text

Human-readable output even if output.format=json

Default: false

Command-export source · CLI guide and behavioral notes