Encrypted at Rest
API keys are encrypted with AES-GCM before saving to localStorage.
Building serverless AI apps usually means choosing between two awkward options: adding a backend only to hide API keys, or collecting raw keys in plaintext UX.
byok-vault keeps keys in the browser, encrypted at rest with a user passphrase, decrypts only for the narrow withKey(...) execution scope, and includes an optional token circuit breaker so apps cannot silently run away on usage.
See the full threat model in Security.