TASK AUTHORITY

● Enterprise

Runs in your network, on what you already have.

Task Authority is software you install, not a service you sign up for. It chains to your certificate authority, signs people in through your identity provider, stores state in your Postgres, and calls nothing outside your network.

01 · Where it sits

Two components, beside the systems you run today.

Both are single Go binaries. The dashboard is built into the Task Authority.

TASK AUTHORITY

Issues identities and decides who may act

Run as many instances as you like on one Postgres. People use the dashboard and API with sign-in tokens from your identity provider. Your AI apps use an mTLS API with their own certificates. Local services get identities from a SPIFFE Workload API socket.

GATEWAY

Checks every call, close to your services

Run Gateways behind a TCP load balancer near the services they protect. Each one reads revocations from the database into memory and connects as a role that can read revocations and CA certificates and write calls, and nothing else.

YOU ALREADY RUN

Your CA, your identity provider, your database

Microsoft ADCS signs one App CA per app. Zitadel, Keycloak or AD FS signs people in with roles. Postgres 17 holds the state (Amazon RDS in the AWS stack). Temporal is optional, for timers that survive restarts.

KEYS

Task and Agent CA keys never leave memory

An instance that needs a task's CA and lacks its key issues a fresh one, and every CA is recorded so revocation covers all of them. App CA keys are stored only sealed with your key-encryption key.

02 · Rollout

Six steps from a laptop to production.

The onboarding guide in the repository walks through each one with tested commands.

STEP 1

Watch the demo

make demo on a laptop, then the Docker Compose stack with real sign-in, Postgres and Temporal.

STEP 2

Stand up the Task Authority

Point it at Postgres with -database-url and give every instance the same key-encryption key with -kek. Add TLS for the dashboard.

STEP 3

Chain to your CA

With -upstream adcs-manual it writes a CSR per app. An administrator signs it with certreq, and -check-app-ca lists anything the certificate lacks.

STEP 4

Connect your identity provider

Give people ta.admin, ta.operator, ta.auditor or ta.user, plus ta.app.<app> for each app a user works in. Teams sharing one install see only their own apps.

STEP 5

Put Gateways in front of services

List each path, the scope it needs and its upstream in a routes file. Keep the real credentials in environment variables or secret files the Gateway reads, never in agents.

STEP 6

Connect your AI apps

Register the app and its software by selectors, such as a Unix user or an AWS role. The software gets its certificate over the SPIFFE Workload API and runs tasks through the mTLS API.

03 · A Gateway, configured

Routes name a scope. Credentials name where the secret lives.

Both files can be checked into your configuration repository: neither holds a secret. A route without a scope is refused, and paths an upstream might read differently (dot segments, encoded slashes, semicolons) are denied before any route is matched.

# routes.json
{"routes": [
  {"prefix": "/crm/",   "scope": "crm:read",
   "credential": "crm", "upstream": "https://crm.internal"},
  {"prefix": "/admin/", "scope": "crm:admin",
   "upstream": "https://crm.internal"}
]}

# creds.json
{"crm": {"header": "Authorization", "prefix": "Bearer ",
         "from": "file:/run/secrets/crm"}}

# start it
gateway -routes routes.json -credentials creds.json \
  -database-url postgres://ta_gateway@db/ta \
  -spiffe-socket unix:///run/spiffe.sock -roots corp-roots.pem \
  -ta-url https://task-authority:8444 \
  -ta-id spiffe://platform.acme.agents/workload/task-authority

04 · Integrations

What it works with today.

AreaWorks withNotes
Certificate authorityMicrosoft ADCS, or a development rootADCS signs through a CSR and certreq. Each App CA must carry a name constraint for its app's trust domain, so one app can never issue another's identities. First live ADCS test is next; online enrollment is not built yet.
PeopleZitadel, Keycloak, AD FS (OIDC)RS256 or ES256 tokens. A JWKS file replaces discovery where the provider can't be reached. No accounts or passwords in the product.
DatabasePostgres 17, including Amazon RDSPlain SQL, so compatible databases can stand in. Versioned saves across instances. Revocations and new CAs reach every instance and Gateway through LISTEN/NOTIFY.
Workload identitySPIFFE Workload API (gRPC), go-spiffeSelectors: Unix user, group and binary on the host; AWS account and IAM role through a signed STS request. X.509-SVIDs only.
TimersTemporal (optional)Task lifetimes, idle timeouts and review deadlines. Without it, in-process timers that are re-armed on restart.
DeploymentBinaries, Docker Compose, Terraform for AWSThe AWS stack runs ECS Fargate, RDS, an NLB, Temporal and standalone Gateways. It passes terraform test and has not yet been applied to a real account.
Operators on the hostAdmin Unix socketThe kernel reports the caller's OS user; only listed UIDs get rights.

05 · Air-gapped sites

Nothing calls home.

The product needs no internet at run time. Today an isolated site still needs the binaries or images carried in; a signed offline bundle is on the roadmap.

  • Every check on the request path is answered from memory: revocations, suspensions and CA certificates arrive through the database.
  • People's tokens verify against a JWKS file when the identity provider is unreachable.
  • ADCS signing works by moving CSR and certificate files, so the CA never needs to reach the Task Authority.
  • The dashboard is embedded in the binary. It loads no scripts from outside.
  • CA keys use ECDSA P-256 or P-384 (-curve p384 for CNSA 2.0) and no SHA-1. A FIPS 140-3 build and HSM-held keys are next.

06 · Before production

The checklist.

  • Back up the key-encryption key in your secret store. Without it the sealed App CA keys can't be opened.
  • Serve the dashboard over TLS with -tls-cert and -tls-key; files are reloaded when replaced.
  • Create the Gateways' database role with -gateway-db-password and list their SPIFFE IDs in -operator-spiffe-ids.
  • Turn on Temporal so task lifetimes and review deadlines survive restarts.
  • Remove -insecure-no-auth, -tokens and the development root.