Split-key envelope
A database copy contains ciphertext and one half. An inspected app contains the other half without ciphertext. Neither side can recover the provider key alone.
Keep provider credentials out of distributed apps, narrow what each service can call, and verify devices before the request leaves your boundary.
The credential boundary, application identity and traffic policy work together. Each layer limits a different failure mode.
A database copy contains ciphertext and one half. An inspected app contains the other half without ciphertext. Neither side can recover the provider key alone.
Require Apple App Attest, DeviceCheck or Firebase App Check before the credential is opened and the upstream request is sent.
Permit only the provider paths that a service needs. A key for one service cannot be reused against another service.
Allow specific models or pin requests to one model so a leaked client token cannot select an unexpected expensive model.
Bound traffic by app key, IP or device. Add a recorded monthly spend budget when the gateway must reject new requests.
Name keys by app or release, rotate with a grace period, and revoke the affected client without changing unrelated services.
Append the upstream path to the service gateway URL and replace the real provider credential with an app key. JSON, SSE, binary payloads and WebSocket frames keep their provider-defined shape.
curl -N \
https://api.hyperproxyai.com/PROJECT/SERVICE/v1/responses \
-H "X-HyperProxy-Key: hp_live_…" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5","input":"Hello"}'Resolve the service, validate the app key and require the configured device proof.
Check endpoint, model, rate, quota and enforced budget rules before opening the credential envelope.
Inject provider auth, stream the native response and record metadata such as status, tokens, latency and estimated cost.
| Data | How HyperProxy handles it |
|---|---|
| Prompts and completions | Streamed through; not written to application logs or analytics storage |
| Provider credentials | Encrypted as a split-key envelope; plaintext exists briefly in gateway memory |
| Request metadata | Status, timing, provider, model, token totals and optional client/session IDs are retained |
| Payment information | Handled by Paddle rather than stored by HyperProxy |
The credential never has to enter the distributed binary, and the server can enforce authorization and policy before every provider call.
No. Stored ciphertext and the encrypted server half are insufficient without the client half carried by an authorized app key.
No. It preserves provider-native request and response formats while applying transport-independent policy around the call.