product image

Encrypted Credentials Vault — Multi-Tenant BYOK API Key Storage (AES-256-GCM)

$49.99$39.99Save 20%

Multi-tenant “Bring Your Own API Keys” (BYOK) storage engine for B2B SaaS.

Let customers connect their own Stripe, PayPal, Twilio, or SendGrid API keys safely. Secrets are encrypted at rest with AES-256-GCM, masked in the UI, and verified against third-party providers.

CORE CAPABILITIES:

  • AES-256-GCM encryption: Secrets are stored as a single authenticated ciphertext blob (iv:tag:ciphertext) with env-derived master keys
  • Plaintext public config: Non-secret parameters (client IDs, currencies, modes) remain in queryable JSONB for zero-decrypt indexing
  • Write-time masking: Automatically generates UI-safe previews (••••3f2a) on save, ensuring plaintext secrets never return over HTTP
  • Verification status machine: Lifecycle tracking (pending -> verified | failed) with pluggable provider handshake hooks that test keys live
  • Express router factory: Mountable endpoints with Zod validation, org-scoping, and role-gating (owners/admins only)

STACK:
TypeScript, Express, PostgreSQL, Node.js Crypto, Zod

INCLUDES:
Full TypeScript source, standalone schema.sql (single org_credentials table), Stripe and PayPal integration examples, Express router factory, and unit test suite.

TERMS:
Single commercial license. Full refund within 7 days if the test suite fails to pass as documented.