~/talk

Confidential development with Always Encrypted using enclaves

Talkat SQLBits 2024 · 2024-03-19..03-23· [security, databases]
slides:none on file

Always Encrypted with secure enclaves in Azure SQL enables in-place encryption and key rotation without exporting data, and unlocks rich confidential queries (>, <, LIKE, ORDER BY, indexes) but requires randomized encryption for enclave-protected columns. Choose between Intel SGX (stronger, needs MAA attestation and specific DC-series VMs) or VBS enclaves (wider region availability, no attestation yet). Practical requirements: upgrade drivers, add column encryption settings and attestation URL in the connection string, register Azure Key Vault provider, use parameterized queries. Demo shows first query ~3s (metadata/attestation) then cached fast.

AI-written summary · about

  1. 0:00Confidential dev with Always Encrypted
  2. 1:31What is Always Encrypted
  3. 2:57Always Encrypted in practice
  4. 5:02Limitations and enclaves
  5. 7:29Secure enclaves and types
  6. 10:59Intel SGX vs VBS enclaves
  7. 11:41Attestation for Intel SGX
  8. 12:22Randomized vs deterministic encryption
  9. 13:24Implementation roles
  10. 15:29Encryption in app code
  11. 18:19Live demo: encrypting data
  12. 26:35App code issues
  13. 29:06Demo: errors and fixes
  14. 36:18Key steps for Always Encrypted
  15. 39:11Parameterized queries impact
  16. 40:40Summary and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.