~/talk

Dynamic Database Credentials

Talkat PGConf Silicon Valley 2016 · 2016-11-14..11-16· [security, databases]
links:none on file
slides:none on file

Vault issues short‑lived PostgreSQL accounts on demand, creates GRANTs, and revokes them with a PG terminate when leases expire so credentials are tied to a machine heartbeat. Implementation uses Vault + PostgreSQL secret backend, Consul preferred as storage, and tools like consul-template heartbeating or Fabio for routing. Initialization uses Shamir unseal with 5 keys and threshold 2. Leases default to 1 hour, renew up to 24 hours, and credentials are capped at max 30 days; the system works for automated rotation and fast revocation.

AI-written summary · about

  1. 0:00Intro
  2. 0:43Vault Manages Secure Information
  3. 1:25Operational Concern: Loss Aversion
  4. 2:17Security is an Operational Concern
  5. 3:43Types of Security Risk
  6. 5:40Benefits of Low Friction Security
  7. 7:25Sticking Points
  8. 8:45Keys to the Kingdom
  9. 9:32Meatspace Operational Concerns
  10. 10:16Why not use PostgreSQL for secrets?
  11. 10:46Embraced Requirements
  12. 13:41Secure like a Bank...
  13. 13:51Secrets Lifecycle in Dynamic Environments
  14. 14:15Vault Architecture
  15. 15:09Glossary
  16. 18:59Meatspace Integration
  17. 21:52Hypothetical Model
  18. 37:20Integrations: consul-template
  19. 39:42Integrations: fabio
  20. 40:22Initial Secret Placement
  21. 48:54How 'bout that API?
~/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.