ObjectOS
運維

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.com

Secrets

Store these in a secret manager:

SecretPurpose
OS_AUTH_SECRETSession signing base secret. Identical on every replica — replicas with different values reject each other's sessions.
OS_SECRET_KEYRequired once you run more than one replica, and likewise identical across all of them.
OS_LICENSE_KEYThe deployment's entitlement.
Database credentialsBusiness database access
OIDC client secretEnterprise SSO
Provider API keysEmail, 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:

TrafficExample limit
Auth endpoints10/min/IP
Write requests60/min/IP
Read requests600/min/IP

Use a shared backend such as Redis for multi-pod deployments.

CORS

Configure explicit origins:

https://app.example.com
https://admin.example.com

Do 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_SECRET is 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.

On this page