Production Readiness
Checklist for running ObjectOS safely in production.
Use this checklist before exposing ObjectOS to production traffic.
HTTP hardening
ObjectStack runtime provides conservative security headers for dispatcher routes. Production deployments should verify:
Content-Security-Policy;X-Content-Type-Options;X-Frame-Options;Referrer-Policy;Permissions-Policy;Cross-Origin-Resource-Policy;- HSTS after TLS is confirmed.
If a reverse proxy owns headers, verify the final response with:
curl -I https://app.example.comSecrets
Store these in a secret manager:
| Secret | Purpose |
|---|---|
OS_AUTH_SECRET | Session signing base secret. Identical on every replica — replicas with different values reject each other's sessions. |
OS_SECRET_KEY | Required once you run more than one replica, and likewise identical across all of them. |
OS_LICENSE_KEY | The deployment's entitlement. |
| Database credentials | Business database access |
| OIDC client secret | Enterprise SSO |
| Provider API keys | Email, storage, AI, integrations |
Never bake secrets into artifacts or images.
A deployment bound to a control plane holds a runtime token as well, but that one is not a secret you configure: it is minted during the binding and persisted by the runtime. There is no deployment-level API key to distribute for it.
Rate limiting
The framework exposes a token-bucket rate limiter. Wire rate limiting at the adapter, ingress, or gateway layer where caller IP and authenticated identity are trustworthy.
Recommended buckets:
| Traffic | Example limit |
|---|---|
| Auth endpoints | 10/min/IP |
| Write requests | 60/min/IP |
| Read requests | 600/min/IP |
Use a shared backend such as Redis for multi-pod deployments.
CORS
Configure explicit origins:
https://app.example.com
https://admin.example.comDo not use wildcard origins with credentialed requests.
Go-live checklist
- TLS is terminated at the edge or ingress.
- Security headers are present.
- HSTS is enabled after TLS validation.
- CORS origins are explicit.
- Rate limits protect auth and write endpoints.
-
OS_AUTH_SECRETis strong and stored as a secret. - OIDC callback URLs match the public domain.
- Business database backup and restore are tested.
- Audit logs are retained according to customer policy.
- Cross-organization negative access tests pass.
- Rollback plan covers both ObjectOS image and artifact version.