Trust domains and federation
trust.yaml is the receiving organization’s statement of whom it trusts:
apiVersion: nexum.dev/v1alpha1trust_domains: xyz.com: issuer: https://identity.xyz.com keys: [{ kty: OKP, crv: Ed25519, x: "…", kid: "xyz-2026-11" }] # standard JWKS allow: [inventory.read, pricing.read, quote.create] deny: [payment.execute, customer.export] max_grant_ttl_seconds: 3600ABC verifies XYZ’s authority with XYZ’s published key, then applies its own allow/deny list and its own policy. Nobody, including any future Nexum service, sits in the trust path.
nexum trust add xyz.com --issuer https://identity.xyz.com --key xyz.jwk.json \ --allow inventory.read --deny payment.executenexum trust list- An organization can only vouch for agents inside its own trust domain
(
NX-1017). - Keys are selected by
kidwithin the claimed domain only. denywins overallow, and a capability the domain doesn’t allow isNX-4031even if the grant carries it.
Revocation
Section titled “Revocation”Takes effect on the next request, and kills every descendant grant:
nexum agents revoke spiffe://xyz.com/agents/procurement # NX-3001nexum grants revoke <jti> # NX-3002nexum trust revoke xyz.com --reason "contract ended" # NX-3003nexum trust revoke-key <kid-or-thumbprint> # NX-3004