Skip to main content
OPS SECRETMESH LAB // INFISICAL KMS & SECRETS RPS TELEMETRY STACK: FASTIFY + PG16 + REDIS 7 | AES-256-GCM | BASELINE 2026-10-28
InfisicalOps
InfisicalOps Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
Infisical Presets

Dynamic Database Secrets & BullMQ Lease Rotation Preset

Configure Redis BullMQ worker concurrency and PostgreSQL lease revocation queues for short-lived 1-hour database credentials.

BullMQ 4x Workers · Redis AOF Persistence · 1h Credential TTL

Dynamic Database Secrets & BullMQ Lease Rotation Preset
Telemetry baseline verified 2026-10-28 by SecretMesh Lab.

Redis Persistence Is Mandatory for Leases

When issuing dynamic PostgreSQL or MongoDB leases, Redis stores delayed BullMQ revocation jobs. Always enable appendonly yes so a container restart never orphans temporary DB users.

Sizing Worker Headroom

Reserve at least 1 dedicated vCPU core (KVM 4 or Vultr HF 8 GB) for background BullMQ rotation jobs alongside live API traffic.

Measured Thresholds & KMS Configuration

ComponentConfigurationEffect
Redis Persistenceappendonly yes + everysecPreserves active lease revocation timers
BullMQ Concurrency4 workers / 2 GB Fastify capPrevents lease expiry backlog during spikes
PostgreSQL Role PoolSeparate admin vs app DSNIsolates dynamic CREATE ROLE transactions
BullMQ 4x Workers · Redis AOF Persistence · 1h Credential TTL Deploy Vultr HF ($24+/mo)Hostinger KVM ($6.99+/mo)