You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BLite provides no way to integrate with external key management systems (Azure Key Vault, AWS KMS, HSM). Without this, teams cannot adopt BLite encryption in production environments that require centralized key management and key rotation policies.
Appetite
Small batch — ~2 days
Solution
New file:src/BLite.Core/Encryption/IKeyProvider.cs
On engine open: resolve key via IKeyProvider.GetKeyAsync (or derive from passphrase), initialize EncryptionCoordinator, assign providers to all storage components. When encryption is not configured, all providers default to NullCryptoProvider — zero overhead.
Rabbit Holes
The Passphrase option is convenient for development but unsuitable for production — document this clearly.
IKeyProvider is called once at open time, not on every page read/write.
No-gos
BLite does not implement its own KMS or key storage.
This discussion was converted from issue #80 on May 01, 2026 19:41.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
BLite provides no way to integrate with external key management systems (Azure Key Vault, AWS KMS, HSM). Without this, teams cannot adopt BLite encryption in production environments that require centralized key management and key rotation policies.
Appetite
Small batch — ~2 days
Solution
New file:
src/BLite.Core/Encryption/IKeyProvider.csAdd
EncryptionOptionstoBLiteEngineOptions:On engine open: resolve key via
IKeyProvider.GetKeyAsync(or derive from passphrase), initializeEncryptionCoordinator, assign providers to all storage components. When encryption is not configured, all providers default toNullCryptoProvider— zero overhead.Rabbit Holes
Passphraseoption is convenient for development but unsuitable for production — document this clearly.IKeyProvideris called once at open time, not on every page read/write.No-gos
Beta Was this translation helpful? Give feedback.
All reactions