Reference
MarkdownLimits
Sizes, protocols, rates and timeouts, in one place.
The enclave, the SDKs and the CLI enforce every number here. Going over one usually returns BadRequest when you seal or PolicyDenied in a session; see Errors. Plan allowances aren't enforced yet, so they aren't listed.
Secrets#
Why 16 bytes: someone who can make the upstream echo chosen text could test guesses against the response masking, and a short secret falls fast. The minimum can refuse an existing short database password, so set a longer one first. Header values can't carry control characters, and printable ASCII keeps Postgres's password normalization independent of the secret's bytes.
What you seal for#
https://, postgres:// (or postgresql://), rediss://. http://, redis:// and plaintext Postgres are refused.%, ?, #, \, . or .. segments, or //. Requests outside it are refused.host, content-length, transfer-encoding, connection, cookie, te or upgrade.{key} exactly once. Printable ASCII and spaces only.a-z, 0-9 and -, not starting or ending with -.Protocols#
HTTP#
Upgrade or CONNECT./v1/…), not a full URL._method parameters are refused.--methods.Range and If-Range headers are dropped.--methods set, multipart/form-data is refused, and form or JSON bodies are read whole, up to 1 MiB._method field.Postgres#
FunctionCall are refused. Startup options are dropped.Redis#
rediss://). Standalone servers, not Redis Cluster.AUTH again, HELLO … AUTH, admin commands (ACL, CONFIG, MONITOR, FLUSHALL and others) and other databases are refused.Requests, sessions and timing#
Per replica. Going over a rate limit returns BudgetExceeded.
Unavailable.Replicas and telemetry#
SEAL_EXIT_AFTER_SECS, 60 to 604,800 seconds (one week)See Where the enclave runs and Telemetry.
Tenants and admins#
a-z, 0-9 and -. It can't be changed later.a-z, 0-9, - and .Keep at least two admin keys. If you lose your only one, nobody can ever change the tenant again.
Freshness and failing closed#
A replica acts only on a tenant state with a current freshness statement, so nobody can replay an old state for longer than the window.
Unavailable until the replica gets one.An outage stops your keys from working. It never makes them readable. A shorter freshness window limits replays, and also how long a replica rides out an outage.