1 · Install mt and start the gateway
curl -fsSL https://mutualtrust.io/install.sh | sh
mt gateway
Mutual Trust quickstart · control plane https://api.mutualtrust.io
sample Orders API on http://127.0.0.1:9001
Pairing code: XXXX-XXXX # approve in the portal
Gateway ready.
2 · Enroll the workload
mt enroll --token mtenr_…
Enrolling workload
1. attestation accepted: challenge issued
2. generated P-256 key locally (private key never leaves this machine)
3. certificate issued · 24 h · renews automatically
3 · Call an allowed and a restricted route
mt call https://localhost:8443/orders
mt call https://localhost:8443/admin/export
200 ALLOWED GET …/orders
request req_… · policy revision 42
403 DENIED GET …/admin/export
route_not_permitted
not permitted to call this route or method