Zero-trust security
GA & BetaFree+ (secrets, OIDC, scans), Hobby+ (outbound integrations)Call third-party APIs without ever putting the API key in your app’s environment
Inject upstream API credentials at Gregale’s outbound relay, exchange short-lived OIDC workload identity tokens, scan deployments for CVEs and leaked secrets, and reload secrets without dropping traffic.
Keep vendor keys in Gregale’s outbound relay and rotate app secrets safely
Storing raw vendor API keys in container environment variables exposes credentials to application-level RCE, dependency supply-chain leaks, or stale snapshots. Gregale removes static secrets wherever possible and strictly controls every credential that remains.
# Seal a provider Authorization header in Gregale's outbound relay (never exposed in app env)
curl -X PUT https://api.gregale.dev/v1/outbound/integrations/$INTEGRATION_ID/credential \
-H "Authorization: Bearer $GREGALE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"authorization": "Bearer re_live_..."}'
# Rotate an app secret cleanly with snapshot invalidation and rolling drain
gregale env rotate --app my-api DATABASE_URL="$NEW_DATABASE_URL" --restart
Key capabilities
Credential-injecting outbound relay
Register provider origin, allowed HTTP methods/paths, and daily limits on an outbound integration (per-account preview on paid plans). The relay attaches Authorization in transit — app code never reads the key.
Short-lived OIDC workload identity
Authenticate workloads to external cloud providers with signed short-lived OIDC tokens instead of pasting static cloud access keys.
Automated CVE & secret scanning
Every deployment can be scanned for known vulnerabilities and accidentally committed credentials alongside an outbound SSRF egress denylist covering RFC1918, loopback, and IMDS.
Snapshot-safe secret rotation
Mutating a secret invalidates prior snapshots immediately; adding --restart queues a rolling replacement that drains old VMs without ever snapshotting old credentials.
Typical PaaS vs. Gregale
| Capability | Typical PaaS | Gregale |
|---|---|---|
| Third-party API credentials in app runtime | Plain env vars readable by any compromised package | Outbound relay injects sealed headers outside the microVM |
| Cloud provider auth | Static IAM keys copied into env config | Short-lived OIDC workload identity tokens (Beta) |
| Snapshots after secret rotation | Risk of stale memory/env state in warm containers | Auto-invalidates snapshots + rolling --restart drain |
Deep-dive guides (4)
Call Stripe, OpenAI and third-party APIs without API keys in your app
Gregale outbound integrations (in preview per account on Hobby, Pro and Scale) inject sealed `Authorization` credentials outside your microVM at `$GREGALE_OUTBOUND_URL`, enforcing method/path allowlists, circuit breakers and daily request budgets.
Rotate and revoke secrets without restarting containers or leaking snapshots
Every secret mutation on Gregale invalidates memory snapshots so restored VMs never serve stale keys, `--restart` performs a draining rolling replacement, and images with `com.gregale.secret-reload-signal` hot-reload in-process with verifiable acknowledgements.
Run SQS-style pull queue workers with zero-secret workload identity
Long-running workers consume Gregale queues without an HTTP listener using `leases`, `ack`, `nack` and `extend`, preview SDK auto-heartbeating (`consumeQueue`), `queue_depth` autoscaling and `gregale:queues` workload tokens that block staging/preview code.
Default SSRF protection with platform egress denylists across every plan
Block `169.254.169.254` cloud metadata, RFC1918 private networks, IPv6 NAT64 bypasses, SMTP spam ports, SSH/RDP and mining pools automatically on every Gregale app without extra configuration.
Runnable starters & integrations (1)
Browse all templatesDocumentation references
Questions
- Can my application code read a credential stored on an outbound integration?
No. The credential is sealed at rest and never exposed in the microVM environment or API responses (which only report credential_configured: true). Gregale injects it at the outbound relay after checking method, path, and rate policy.
- Are outbound integrations enabled by default on all accounts?
Outbound integrations are available on Hobby, Pro, and Scale plans as a per-account preview enabled through support. Sealed app secrets, OIDC workload identity, and egress SSRF protection are available independently.
- How does secret rotation interact with Firecracker snapshots?
Updating or rotating any secret automatically invalidates existing snapshots so no restored microVM can boot with old credentials. Passing --restart runs a rolling cold-boot replacement cleanly.