maqpna-identity
The identity broker: mints the short-lived session tokens the gateway verifies.
Synopsis#
maqpna-identity [flags]Flags#
| Flag | Type | Description | Default |
|---|---|---|---|
-audience | string | default token audience (aud) | maqpna-gateway |
-bootstrap-audience | string | audience of the projected ServiceAccount tokens presented to /v1/bootstrap | maqpna-bootstrap |
-bootstrap-listen | string | listen address of the warm-pool bootstrap endpoint (POST /v1/bootstrap; needs in-cluster API access); empty = disabled | none |
-default-ttl | duration | token lifetime when ttlSeconds is 0 | 15m0s |
-exchange-config | string | JSON allowlist of token-exchange audiences | none |
-federation-issuer | string | https issuer URL of federation JWTs, where clouds fetch /.well-known/openid-configuration | -issuer; env MAQPNA_IDENTITY_FEDERATION_ISSUER |
-federation-key | string | ES256/RS256 key URI signing the federation JWTs presented to AWS STS, Google STS and Entra (file:///, kms://, azurekv://, pkcs11:; env MAQPNA_IDENTITY_FEDERATION_KEY) | none |
-generate-key | switch | generate the signing key if -key does not exist (and an ML-DSA-65 -pq-key) | none |
-identity-checks | string | JSON file of identity checks and their trust anchors (kubernetes, spiffe, aws-iid, gcp-identity, azure-imds, tee; docs/integrations/identity-checks.md) | none |
-issuer | string | token issuer (iss) | maqpna-identity |
-key | string | Ed25519 signing key (PKCS#8 PEM) | /var/run/maqpna/identity/identity.key |
-listen | string | listen address | :8081 |
-max-delegation-depth | int | maximum act-chain depth of A2A delegation tokens | 5 |
-max-ttl | duration | maximum token lifetime | 1h0m0s |
-previous-keys | string | comma-separated PEM files of retired-but-trusted public keys (rotation) | none |
-public-url | string | the broker's base URL as clients address it, the htu of DPoP proofs (default: scheme and Host of each request) | none |
-require-proof | switch | refuse POST /v1/token without a proof the broker verified | none |
-sandbox-api-version | string | agent-sandbox API version (Sandbox / SandboxClaim) | v1beta1 |
-sandbox-check | string | verify mint proofs for sessions in this sandbox driver's sandboxes (agent-sandbox, e2b, kosa8): the broker asks the substrate itself and records maqpna_substrate | none |
-sandbox-check-allowed | string | with -sandbox-check: JSON {"kernel": ["<sha256>"], "image:docker.io/library/alpine:3.20": [...]} of accepted measurement digests | none |
-sandbox-check-gateway | string | with -sandbox-check: the gateway URL a sandbox's egress must be pinned to | none |
-sandbox-check-min-attestation | string | with -sandbox-check: weakest attestation accepted (none, inventory, measured) | inventory |
-sandbox-check-min-isolation | string | with -sandbox-check: weakest isolation accepted | microvm |
-shutdown-delay | duration | on SIGTERM, keep serving this long while /readyz fails (endpoint removal propagates) before closing the listeners | none |
-sign-alg | string | token signing algorithm: EdDSA, or ML-DSA-44/65/87 (needs -pq-key; gateways must have identity.acceptMLDSA) | EdDSA |
-tenant-keys-dir | string | directory of <tenant>.pem signing keys (Secret maqpna-tenant-keys) | /var/run/maqpna/tenant-keys |
-tenant-reload | duration | how often -tenants-file and -tenant-keys-dir are re-read | 10s |
-tenants-file | string | tenants.json (ConfigMap maqpna-tenants): sign tenant namespaces' tokens with per-tenant keys (F-27) | none |
-tls-cert | string | serve -listen over TLS with this certificate (PEM; with -tls-key); clients may present a certificate (X.509-SVID) | none |
-tls-key | string | private key of -tls-cert (PEM) | none |
-trust-domain | string | SPIFFE trust domain | maqpna.local |
-txn-token-audience | string | expected Transaction Token audience (default: the trust domain) | none |
-txn-token-keys | string | comma-separated PEM public keys trusted for Transaction Tokens used as A2A delegation subjects (the broker key is always trusted) | none |
-version | switch | print version and exit | none |
What happens when you run it#
- A long-running server. The Helm chart starts it with these flags; set them through the chart's values rather than by hand.
Exit codes#
| Code | Meaning |
|---|---|
0 | success |
1 | error (the message says what failed, with a hint when there is one) |
2 | usage error: unknown flag, missing argument or bad value; the synopsis is printed |
Terminal demo#
Last updated