Policies at the edge. Before your flow runs.
Authentication, validation, rate limits, transforms — enforced by the gateway on every request before any flow logic touches the payload. No more scattering auth checks across every backend.
Authentication policies
JWT with JWKS validation and claim checks. mTLS with per-partner trust stores. API keys with rotation. Choose per-contract; combine where it makes sense.
- JWT: JWKS endpoints, custom signers, claim assertions
- mTLS: client certificate validation
- API key: issuance, rotation, revocation
JSON Schema validation
Attach a request schema and/or response schema to any contract. Malformed payloads bounce at the gateway with a clean 400 — your flow never sees them.
- JSON Schema draft-07 and draft-2020-12
- Per-contract request + response schemas
- Shared schema references via $ref
Rate limiting + quotas
Per-contract, per-partner, or per-API-key rate limits. Token-bucket and sliding-window algorithms. 429 responses with retry-after headers — no backend damage from runaway clients.
- Multiple algorithms per use case
- Cluster-wide coordination via Hazelcast
- Standard 429 + retry-after responses
Request and response transforms
Modify the request before the flow runs. Modify the response before it goes back. Rename fields, add defaults, strip PII, mask secrets. Deterministic, declarative, versioned.
- JSONata / JS transforms
- Separate request + response pipelines
- Composable transform stages
Payload size and content-type limits
Reject requests that don't match the expected content-type or exceed a configured size limit. The gateway never allocates memory for a 50MB payload on a contract expecting 10KB.
- Max payload buffer per contract
- Strict content-type enforcement
- 413 response on oversize
Header propagation control
Explicit allowlists for headers forwarded to upstream systems. No accidental leakage of internal tracing headers, auth tokens, or user agents.
- Allowlist forwarding by default
- Per-contract header rules
- Automatic correlation ID injection
Error normalization
Upstream returned a 502? A 404? A timeout? Policies normalize the response into a consistent error shape so your clients don't have to parse 8 different error formats.
- Standard error envelope
- Upstream status mapping
- Timeout vs. error distinction preserved
CORS, CSRF, and security headers
Standard web security headers applied automatically. CORS per contract or per partner. CSRF protection for state-changing operations. No hand-rolled security middleware.
- CORS allowlists per contract
- Standard security headers (CSP, HSTS, X-Frame-Options)
- CSRF double-submit for mutations
Policies run before flows. Always.
If a request fails auth, your flow never runs. If a payload fails validation, your flow never runs. The edge is where you want these checks — not scattered across 10 microservices downstream.
Composable, not hardcoded
Attach the policies you need, in the order you want. Drop them in, remove them, reorder them. The policy stack is declarative; you don't write middleware.
Ready to build flows & datalines?
Tell us about the systems you connect and the automations you need. We will walk through what VectorFlowApp ships today and how it fits your stack.